don't follow stuck windows in deiconify (thanks _markt)
simonb simonb
2 files changed,
5 insertions(+),
1 deletions(-)
M
ChangeLog
→
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
M
src/IconButton.cc
→
src/IconButton.cc
@@ -91,7 +91,8 @@ win.screen().sendToWorkspace(win.screen().currentWorkspaceID(), &win);
break; case IconbarTool::FOLLOW: default: - win.screen().changeWorkspaceID(win.workspaceNumber()); + if (!win.isStuck()) + win.screen().changeWorkspaceID(win.workspaceNumber()); break; }; win.raiseAndFocus();