diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-14 15:56:59 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-14 15:56:59 +0000 |
| commit | a9175a8a324deb6d1b7e717fb77fbc96204c7540 (patch) | |
| tree | 9ca3226f81be1f731645c1de3a0733b00f655d26 /openbox/focus.h | |
| parent | adc5675823de8e3bbe94a1419b04103c6f845dad (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.h | 3 |
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); |
