aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-08-03 02:33:07 (GMT)
committermarkt <markt>2006-08-03 02:33:07 (GMT)
commit59f150d5db2bbdaa9f42ce73b2d8095ea8b3923f (patch)
treec58a9c75498aca3768d3ccf02b70e7faca576074 /src/Workspace.cc
parent00d862724a5dae43dbf1cbe4378fb846218fb3c3 (diff)
downloadfluxbox-59f150d5db2bbdaa9f42ce73b2d8095ea8b3923f.zip
fluxbox-59f150d5db2bbdaa9f42ce73b2d8095ea8b3923f.tar.bz2
check if window is stuck when using followmodel
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 2ee2768..83db8ef 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -104,7 +104,8 @@ public:
104 return; 104 return;
105 FluxboxWindow &win = *m_client.fbwindow(); 105 FluxboxWindow &win = *m_client.fbwindow();
106 106
107 if (win.screen().currentWorkspaceID() != win.workspaceNumber()) { 107 if (win.screen().currentWorkspaceID() != win.workspaceNumber() &&
108 !win.isStuck()) {
108 win.menu().hide(); 109 win.menu().hide();
109 BScreen::FollowModel model = win.screen().getUserFollowModel(); 110 BScreen::FollowModel model = win.screen().getUserFollowModel();
110 if (model == BScreen::IGNORE_OTHER_WORKSPACES) 111 if (model == BScreen::IGNORE_OTHER_WORKSPACES)