From 5ec63388b8fbbdffc0999ba727ad718f87d683fc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 27 Jul 2002 18:17:45 +0000 Subject: fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly. --- src/Screen.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Screen.cc') diff --git a/src/Screen.cc b/src/Screen.cc index 13916bae..b6c05619 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1516,6 +1516,8 @@ void BScreen::reassociateWindow(BlackboxWindow *w, unsigned int wkspc_id, removeIcon(w); getWorkspace(wkspc_id)->addWindow(w); } else if (ignore_sticky || ! w->isStuck()) { + if (w->isStuck()) + w->stick(); getWorkspace(w->getWorkspaceNumber())->removeWindow(w); getWorkspace(wkspc_id)->addWindow(w); } -- cgit v1.2.3