summaryrefslogtreecommitdiff
path: root/openbox/focus.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-14 15:56:59 +0000
committerDana Jansens <danakj@orodu.net>2007-03-14 15:56:59 +0000
commita9175a8a324deb6d1b7e717fb77fbc96204c7540 (patch)
tree9ca3226f81be1f731645c1de3a0733b00f655d26 /openbox/focus.h
parentadc5675823de8e3bbe94a1419b04103c6f845dad (diff)
save the focus_client when falling back, so we don't actually refocus it when we don't want to.
Diffstat (limited to 'openbox/focus.h')
-rw-r--r--openbox/focus.h3
1 files changed, 2 insertions, 1 deletions
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);