aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-06-23 20:12:41 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-06-23 20:12:41 (GMT)
commit0d6edbdd381d33347737d0c86fa57514d55cfcf8 (patch)
tree2820a41bc8e2ef13396e37106846522f57e3e6e1 /src
parent97048f8900614aa71be6593148b8bbe5f4377dcb (diff)
downloadfluxbox-0d6edbdd381d33347737d0c86fa57514d55cfcf8.zip
fluxbox-0d6edbdd381d33347737d0c86fa57514d55cfcf8.tar.bz2
don't send stuck windows to other workspaces
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 869fb30..475dddf 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1200,7 +1200,7 @@ void BScreen::sendToWorkspace(unsigned int id, FluxboxWindow *win, bool changeWS
1200 if (!win) 1200 if (!win)
1201 win = FocusControl::focusedFbWindow(); 1201 win = FocusControl::focusedFbWindow();
1202 1202
1203 if (!win || &win->screen() != this) 1203 if (!win || &win->screen() != this || win->isStuck())
1204 return; 1204 return;
1205 1205
1206 FbTk::App::instance()->sync(false); 1206 FbTk::App::instance()->sync(false);