don't follow stuck windows in deiconify (thanks _markt)

This commit is contained in:
simonb 2006-03-27 06:35:51 +00:00
parent 309a1aafb3
commit 6d35c17ac0
2 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,9 @@ Changes for 0.9.16:
*06/03/27:
* Fix crash when deiconifying stuck windows with Follow mode (Simon)
IconButton.cc
* Don't Follow stuck windows on deiconify, since they're stuck
(thanks _markt)
IconButton.cc
*06/03/26:
* Related to external (Simon)
- Fix title alignment

View file

@ -91,7 +91,8 @@ public:
break;
case IconbarTool::FOLLOW:
default:
win.screen().changeWorkspaceID(win.workspaceNumber());
if (!win.isStuck())
win.screen().changeWorkspaceID(win.workspaceNumber());
break;
};
win.raiseAndFocus();