From 0cfd92ab9e56d8f790c92b83436e981fa46efe20 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Aug 2007 13:29:13 -0400 Subject: don't make omnipresent windows lose focus when changing desktops. this is done by allowing focus_fallback to specify if focus has been lost or not. usually if you're call it, focus is lost, but not always. --- openbox/focus.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/focus.h') diff --git a/openbox/focus.h b/openbox/focus.h index 93fe6183..b8f89994 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -46,7 +46,8 @@ void focus_nothing(); /*! Call this when you need to focus something! */ struct _ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer, - gboolean allow_omnipresent); + gboolean allow_omnipresent, + gboolean focus_lost); /*! Add a new client into the focus order */ void focus_order_add_new(struct _ObClient *c); -- cgit v1.2.3