Fix StartWindozeCycle() shift key behaviour.
commitc9937f6f6a060284f7430da2901e53be6a9d4c26
authorIain Patterson <wm@iain.cx>
Mon, 22 Apr 2013 09:49:45 +0000 (22 10:49 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 2 May 2013 19:41:07 +0000 (2 20:41 +0100)
treefeafa5e2b7f60dc5fd98a3267de474c792fc4d4f
parent29a526748553e11a1bcd7400e4cfc16c1f5351ed
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.
src/WindowMaker.h
src/cycling.c
src/defaults.c