From 4e0b5fdef451c605f563d137b024134a68c6d6de Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 11:50:20 +0000 Subject: some cleanups make the OBActions instance not static --- src/actions.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/actions.cc') diff --git a/src/actions.cc b/src/actions.cc index af33f51c..b83b521d 100644 --- a/src/actions.cc +++ b/src/actions.cc @@ -147,6 +147,8 @@ void OBActions::keyPressHandler(const XKeyEvent &e) void OBActions::motionHandler(const XMotionEvent &e) { + if (!e.same_screen) return; // this just gets stupid + // XXX: i can envision all sorts of crazy shit with this.. gestures, etc printf("GUILE: MOTION: win %lx modifiers %u x %d y %d\n", (long)e.window, e.state, -- cgit v1.2.3