swpanel: Fix stacking issue with swpanel escape handling
commitf79379c0906c9aa0f40802d2b2da03c6924717cc
authorCarlos R. Mafra <crmafra@gmail.com>
Sat, 22 Aug 2009 01:03:14 +0000 (22 03:03 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 22 Aug 2009 01:08:05 +0000 (22 03:08 +0200)
tree9c42b643fd9dd0f402192a85ef44eb09eec9f698
parent001bc280377d30341692ef973c607593a6217461
swpanel: Fix stacking issue with swpanel escape handling

Daniel Déchelotte reported one problem with the escape handling in
the switchpanel:

   "Start with two windows: a fullscreen one, and a smaller window
    that appears above the fullscreen one. With the mouse, focus the
    bigger window. Start alt-tabbing, then press Escape. The bigger
    window will then be focused (good) *and raised* (small problem)."

Fix this by adding a test for the escape key before calling
raiseWindow().
src/cycling.c