1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

Fix arrow keys in switchpanel.

A previous commit broke the behaviour of the left and right arrow keys
in the switchpanel.  Releasing either of the keys would correctly select
a new window but the panel would then close.  The original, and desired,
behaviour is for the panel to remain open after selecting a new window
with the arrow keys.

Reported by Yury Tarasievich.
This commit is contained in:
Iain Patterson
2013-11-13 14:27:24 +00:00
committed by Carlos R. Mafra
parent 9c8398c0dc
commit 68a902aa2e

View File

@@ -197,6 +197,9 @@ void StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next, Bool class_only)
if (wPreferences.strict_windoze_cycle)
break;
if (ev.xkey.keycode == leftKey || ev.xkey.keycode == rightKey)
break;
if (ev.xkey.keycode == XK_Return)
break;