diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-06-23 20:12:41 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-06-23 20:12:41 (GMT) |
commit | 0d6edbdd381d33347737d0c86fa57514d55cfcf8 (patch) | |
tree | 2820a41bc8e2ef13396e37106846522f57e3e6e1 | |
parent | 97048f8900614aa71be6593148b8bbe5f4377dcb (diff) | |
download | fluxbox_pavel-0d6edbdd381d33347737d0c86fa57514d55cfcf8.zip fluxbox_pavel-0d6edbdd381d33347737d0c86fa57514d55cfcf8.tar.bz2 |
don't send stuck windows to other workspaces
-rw-r--r-- | src/Screen.cc | 2 |
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); |