From 6d35c17ac0635f7e9c5bc1eec5e079c58bdbd171 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 27 Mar 2006 06:35:51 +0000 Subject: don't follow stuck windows in deiconify (thanks _markt) --- ChangeLog | 3 +++ src/IconButton.cc | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7d4d209..e3c30e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/IconButton.cc b/src/IconButton.cc index edc2fc1..770944f 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc @@ -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(); -- cgit v0.11.2