use ctrl+alt+backspace hotkey in wayland compositor for all non-release builds

This commit is contained in:
Mike Blumenkrantz 2015-06-25 19:20:42 -04:00
parent 05a0602f6e
commit 01a4273c38
1 changed files with 1 additions and 3 deletions

View File

@ -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));