summaryrefslogtreecommitdiff
path: root/src/bin/e_comp_wl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_comp_wl.c')
-rw-r--r--src/bin/e_comp_wl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 718c4a8c5..ffe031468 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -3235,7 +3235,13 @@ e_comp_wl_key_up(Ecore_Event_Key *ev)
3235 3235
3236 end = (uint32_t *)e_comp_wl->kbd.keys.data + (e_comp_wl->kbd.keys.size / sizeof(*k)); 3236 end = (uint32_t *)e_comp_wl->kbd.keys.data + (e_comp_wl->kbd.keys.size / sizeof(*k));
3237 for (k = e_comp_wl->kbd.keys.data; k < end; k++) 3237 for (k = e_comp_wl->kbd.keys.data; k < end; k++)
3238 if (*k == keycode) *k = *--end; 3238 {
3239 if (*k == keycode)
3240 {
3241 *k = *--end;
3242 break;
3243 }
3244 }
3239 3245
3240 e_comp_wl->kbd.keys.size = 3246 e_comp_wl->kbd.keys.size =
3241 (const char *)end - (const char *)e_comp_wl->kbd.keys.data; 3247 (const char *)end - (const char *)e_comp_wl->kbd.keys.data;