From a9175a8a324deb6d1b7e717fb77fbc96204c7540 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 14 Mar 2007 15:56:59 +0000 Subject: save the focus_client when falling back, so we don't actually refocus it when we don't want to. --- 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 e71cd2d7..200d96a5 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -50,7 +50,8 @@ void focus_shutdown(gboolean reconfig); send focus anywhere, its called by the Focus event handlers */ void focus_set_client(struct _ObClient *client); -struct _ObClient* focus_fallback_target(gboolean allow_refocus); +struct _ObClient* focus_fallback_target(gboolean allow_refocus, + struct _ObClient *old); /*! Call this when you need to focus something! */ void focus_fallback(gboolean allow_refocus); -- cgit v1.2.3