From ad812e6299223efb0cb4faee03ce99870e5c7ce5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 Dec 2009 16:20:03 -0500 Subject: Add a focus option, unfocusOnLeave that removes focus from a window when the pointer leaves it This uses the same delay to unfocus as is used for focusing on enter --- openbox/event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/event.h') diff --git a/openbox/event.h b/openbox/event.h index 4fd72865..4a8d7901 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -40,6 +40,10 @@ void event_shutdown(gboolean reconfig); follows mouse */ void event_enter_client(struct _ObClient *client); +/*! Make as if the mouse just left the client, use only when using focus + follows mouse */ +void event_leave_client(struct _ObClient *client); + /*! Make mouse focus not move at all from the stuff that happens between these two function calls. */ gulong event_start_ignore_all_enters(void); -- cgit v1.2.3