mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Fix StartWindozeCycle() shift key behaviour.
As the name implies, StartWindozeCycle() cycles windows in the same way that a popular commercially-available operating system does. However Window Maker's handling of the shift key in the switchpanel does not currently mirror that of its commercial counterpart. In the popular operating system: Holding alt and shift then pressing and releasing tab will highlight the previous window in the switcher. Releasing shift with alt still held will not close the switcher. The window change is commited when alt is released. In Window Maker: Holding alt and shift then pressing and releasing tab will highlight the previous window in the switchpanel. Releasing shift with alt still held will close the switchpanel and commit the window change. This patch adds the StrictWindozeCycle boolean preference. When it is set to YES the switchpanel will remain open as long as alt is held even if shift is pressed and released.
This commit is contained in:
committed by
Carlos R. Mafra
parent
29a5267485
commit
c9937f6f6a
@@ -474,6 +474,8 @@ WDefaultEntry optionList[] = {
|
||||
&wPreferences.dont_blink, getBool, NULL, NULL, NULL},
|
||||
{"SingleClickLaunch", "NO", NULL,
|
||||
&wPreferences.single_click, getBool, NULL, NULL, NULL},
|
||||
{"StrictWindozeCycle", "NO", NULL,
|
||||
&wPreferences.strict_windoze_cycle, getBool, NULL, NULL, NULL},
|
||||
|
||||
/* style options */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user