summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-17 16:20:03 -0500
committerDana Jansens <danakj@orodu.net>2009-12-18 11:40:00 -0500
commitad812e6299223efb0cb4faee03ce99870e5c7ce5 (patch)
treee4054f2eab685827fcb7569ff59b686ef4fd6793 /openbox/event.h
parent965ed8907a5dd81d5ffbc93b67a672fa78833854 (diff)
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
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h4
1 files changed, 4 insertions, 0 deletions
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);