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:
1301453
)
add ctrl+alt+backspace to kill wl-only e
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 13 Feb 2015 21:39:38 +0000
(16:39 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 13 Feb 2015 21:40:14 +0000
(16:40 -0500)
#barrel
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index
018fc86
..
bf4af05
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-744,6
+744,16
@@
_e_comp_wl_cb_key_down(void *event)
keycode = (ev->keycode - 8);
if (!(cdata = e_comp->wl_comp_data)) return;
+#ifdef HAVE_WAYLAND_ONLY
+ #ifndef E_RELEASE_BUILD
+ if ((ev->modifiers & ECORE_EVENT_MODIFIER_CTRL) &&
+ ((ev->modifiers & ECORE_EVENT_MODIFIER_ALT) ||
+ (ev->modifiers & ECORE_EVENT_MODIFIER_ALTGR)) &&
+ eina_streq(ev->key, "BackSpace"))
+ exit(0);
+ #endif
+#endif
+
end = (uint32_t *)cdata->kbd.keys.data + (cdata->kbd.keys.size / sizeof(*k));
for (k = cdata->kbd.keys.data; k < end; k++)