swpanel: Consider also the release of FOCUSPREV
commit01dddf00c894a4e03a31703360bc15892ab5b571
authorAlexey Voinov <voins@altlinux.ru>
Wed, 14 May 2008 10:04:40 +0000 (14 14:04 +0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 23 Aug 2009 18:03:21 +0000 (23 20:03 +0200)
tree8046728fcd127fd1890b7978e71d403f114a386e
parentfe736e849c9749e8c9f614166550e3eb84c8bba2
swpanel: Consider also the release of FOCUSPREV

The switch panel was not being destroyed with the realease of
FOCUSPREV, only with FOCUSNEXT. Fix this.

One can reproduce this bug as follows.

In the "Keyboard Shortcut Preferences" of WPrefs set "Focus next window"
to e.g. "Alt+Tab" and "Focus previous window" to "Ctrl+Tab".
The switchpanel is not destroyed if we release "Ctrl+Tab" but it
is upon releasing of "Alt+Tab".

Retrieved-from: http://git.altlinux.org/people/voins/packages/?p=WindowMaker.git;a=commit;h=51c95a55c9310f499b1fdeca138106ca7bf74423

[crmafra: Commit log]
src/cycling.c