projects
/
platform
/
upstream
/
weekeyboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b90afe
)
Update the usage of ecore_wayland.
author
Rafael Antognolli
<rafael.antognolli@intel.com>
Mon, 4 Nov 2013 19:42:55 +0000
(17:42 -0200)
committer
Eduardo Lima (Etrunko)
<eduardo.lima@intel.com>
Mon, 4 Nov 2013 20:14:19 +0000
(18:14 -0200)
Ecore_Wl_Window is not exposed anymore, so the input region must be
changed using the ecore_wl_window_input_region_set() function.
Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/wkb-main.c
patch
|
blob
|
history
diff --git
a/src/wkb-main.c
b/src/wkb-main.c
index 1030631f698ba170a1885dea57b9762196a09e61..c142bd144fb3cb2413e493981630705c89a20a54 100644
(file)
--- a/
src/wkb-main.c
+++ b/
src/wkb-main.c
@@
-437,12
+437,9
@@
_wkb_ui_setup(struct weekeyboard *wkb)
if (wkb->win)
{
int x, y, w, h;
- struct wl_region *input = wl_compositor_create_region(wkb->win->display->wl.compositor);
edje_object_part_geometry_get(wkb->edje_obj, "background", &x, &y, &w, &h);
- wl_region_add(input, x, y, w, h);
- wl_surface_set_input_region(wkb->surface, input);
- wl_region_destroy(input);
+ ecore_wl_window_input_region_set(wkb->win, x, y, w, h);
}
/* special keys */