From 0d6edbdd381d33347737d0c86fa57514d55cfcf8 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 23 Jun 2008 13:12:41 -0700 Subject: don't send stuck windows to other workspaces --- src/Screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 if (!win) win = FocusControl::focusedFbWindow(); - if (!win || &win->screen() != this) + if (!win || &win->screen() != this || win->isStuck()) return; FbTk::App::instance()->sync(false); -- cgit v0.11.2