projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d71ad
)
only perform keybind grabs on root window for x11 compositors
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 20 Jul 2015 17:32:06 +0000
(13:32 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 20 Jul 2015 17:32:06 +0000
(13:32 -0400)
src/bin/e_comp_canvas.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_canvas.c
b/src/bin/e_comp_canvas.c
index
d494baf
..
7300c18
100644
(file)
--- a/
src/bin/e_comp_canvas.c
+++ b/
src/bin/e_comp_canvas.c
@@
-657,13
+657,13
@@
e_comp_canvas_client_layer_map_nearest(int layer)
E_API void
e_comp_canvas_keys_grab(void)
{
- if (e_comp->
root
)
+ if (e_comp->
comp_type == E_PIXMAP_TYPE_X
)
e_bindings_key_grab(E_BINDING_CONTEXT_ANY, e_comp->root);
}
E_API void
e_comp_canvas_keys_ungrab(void)
{
- if (e_comp->
root
)
+ if (e_comp->
comp_type == E_PIXMAP_TYPE_X
)
e_bindings_key_ungrab(E_BINDING_CONTEXT_ANY, e_comp->root);
}