summaryrefslogtreecommitdiff
path: root/plugins/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-19 08:40:00 +0000
committerDana Jansens <danakj@orodu.net>2003-03-19 08:40:00 +0000
commita7705024c6a9934123e8249143671b08483f47cd (patch)
tree10fde454abbb9e9d45dc42a7ad38102ac7c3a38b /plugins/focus.c
parent9ca9bcc11c98c492d1304d99ff8eb268a2c00b20 (diff)
all the old ob2 mouse bindings are workin
Diffstat (limited to 'plugins/focus.c')
-rw-r--r--plugins/focus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/focus.c b/plugins/focus.c
index f50d9c4b..8a43c759 100644
--- a/plugins/focus.c
+++ b/plugins/focus.c
@@ -21,9 +21,13 @@ static void focus_fallback(guint desk, gboolean warp)
doesn't skip briefly to what was under the pointer */
if (XCheckTypedEvent(ob_display, EnterNotify, &e)) {
XPutBackEvent(ob_display, &e);
+ /* XXX WERE NOT SKIPPING THEM ALL@&*)! */
+ g_message("Skip");
++skip_enter;
}
+ /* I have to do this warp twice! Otherwise windows dont get
+ Enter/Leave events when i warp on a desktop switch! */
XWarpPointer(ob_display, None, c->window, 0, 0, 0, 0,
c->area.width / 2, c->area.height / 2);
XWarpPointer(ob_display, None, c->window, 0, 0, 0, 0,