From 553af0db03d5c977e3180e6b1a45575781ff81e2 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 26 Mar 2008 16:57:50 +0100 Subject: [PATCH] [event] Add more comment about the Bob Marley algorithm Signed-off-by: Julien Danjou --- event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/event.c b/event.c index f5a24aaf..5f25d06d 100644 --- a/event.c +++ b/event.c @@ -260,7 +260,9 @@ event_handle_enternotify(XEvent *e) && ev->y_root == globalconf.pointer_y)) return; - /* the idea behing saving pointer_x and pointer_y is Bob Marley powered */ + /* the idea behind saving pointer_x and pointer_y is Bob Marley powered + * this will allow us top drop some EnterNotify events and thus not giving + * focus to windows appering under the cursor without a cursor move */ globalconf.pointer_x = ev->x_root; globalconf.pointer_y = ev->y_root;