From 6d2650263193aaa7e94b29261c6ba249c0be3fd3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 18 May 2007 00:11:01 +0000 Subject: super correct enter event ignoring that will only ignore what it has to, yay? --- openbox/event.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'openbox/event.h') diff --git a/openbox/event.h b/openbox/event.h index 4fdf292e..f794039d 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -39,9 +39,13 @@ void event_shutdown(gboolean reconfig); follows mouse */ void event_enter_client(struct _ObClient *client); -/*! Request that any queued EnterNotify events not be used for distributing - focus */ -void event_ignore_queued_enters(); +/*! Make mouse focus not move if the mouse leaves this client from what + has just transpired. */ +void event_ignore_enters_leaving_window(struct _ObClient *c); + +/*! Make mouse focus not move at all from the stuff that has happened up + till now. */ +void event_ignore_all_queued_enters(); /* Halts any focus delay in progress, use this when the user is selecting a window for focus */ -- cgit v1.2.3