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/Workspace.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Workspace.hh') diff --git a/src/Workspace.hh b/src/Workspace.hh index 7934308d..819b6391 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh @@ -91,12 +91,13 @@ public: BlackboxWindow* getTopWindowOnStack(void) const; void sendWindowList(Netizen &n); void focusFallback(const BlackboxWindow *old_window); + void setFocused(const BlackboxWindow *w, bool focused); bool isCurrent(void) const; bool isLastWindow(const BlackboxWindow* w) const; - void addWindow(BlackboxWindow *w, bool place = False); - void removeWindow(BlackboxWindow *w); + void addWindow(BlackboxWindow *w, bool place = False, bool sticky = False); + void removeWindow(BlackboxWindow *w, bool sticky = False); unsigned int getCount(void) const; void appendStackOrder(BlackboxWindowList &stack_order) const; -- cgit v1.2.3