text: Rename ::set_panel to ::set_overlay_panel
Also add documentation to input_panel_surface::set_overlay_panel. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
62ece76b1e
commit
70d942b4d7
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<protocol name="input_method">
|
<protocol name="input_method">
|
||||||
<copyright>
|
<copyright>
|
||||||
Copyright © 2012 Intel Corporation
|
Copyright © 2012, 2013 Intel Corporation
|
||||||
|
|
||||||
Permission to use, copy, modify, distribute, and sell this
|
Permission to use, copy, modify, distribute, and sell this
|
||||||
software and its documentation for any purpose is hereby granted
|
software and its documentation for any purpose is hereby granted
|
||||||
@@ -215,7 +215,11 @@
|
|||||||
<arg name="position" type="uint"/>
|
<arg name="position" type="uint"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
<request name="set_panel">
|
<request name="set_overlay_panel">
|
||||||
|
<description summary="set the surface type as an overlay panel">
|
||||||
|
An overlay panel is shown near the input cursor above the application
|
||||||
|
window when a text model is active.
|
||||||
|
</description>
|
||||||
</request>
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
</protocol>
|
</protocol>
|
||||||
|
|||||||
+2
-2
@@ -3638,7 +3638,7 @@ input_panel_surface_set_toplevel(struct wl_client *client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
input_panel_surface_set_panel(struct wl_client *client,
|
input_panel_surface_set_overlay_panel(struct wl_client *client,
|
||||||
struct wl_resource *resource)
|
struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
struct input_panel_surface *input_panel_surface = resource->data;
|
struct input_panel_surface *input_panel_surface = resource->data;
|
||||||
@@ -3652,7 +3652,7 @@ input_panel_surface_set_panel(struct wl_client *client,
|
|||||||
|
|
||||||
static const struct input_panel_surface_interface input_panel_surface_implementation = {
|
static const struct input_panel_surface_interface input_panel_surface_implementation = {
|
||||||
input_panel_surface_set_toplevel,
|
input_panel_surface_set_toplevel,
|
||||||
input_panel_surface_set_panel
|
input_panel_surface_set_overlay_panel
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user