forked from enlightenment/enlightenment
use ctrl+alt+backspace hotkey in wayland compositor for all non-release builds
This commit is contained in:
parent
05a0602f6e
commit
01a4273c38
|
@ -854,14 +854,12 @@ _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
|
||||
#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));
|
||||
|
|
Loading…
Reference in New Issue