From 1d6c07c24be25b2de4d36dfb0cc6e5f2d3518bf8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 May 2007 00:54:44 +0000 Subject: try catch weird racey corner case where we try fallback to a window but it unmaps as we do so, so focus ends up going to nowhere --- openbox/focus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/focus.h') diff --git a/openbox/focus.h b/openbox/focus.h index 1c8cb157..be634338 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -49,7 +49,7 @@ 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); +struct _ObClient* focus_fallback(gboolean allow_refocus); /*! Cycle focus amongst windows. */ void focus_cycle(gboolean forward, gboolean all_desktops, -- cgit v1.2.3