mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +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:
committed by
Carlos R. Mafra
parent
9c8398c0dc
commit
68a902aa2e
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user