summaryrefslogtreecommitdiff
path: root/src/actions.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 11:50:20 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 11:50:20 +0000
commit4e0b5fdef451c605f563d137b024134a68c6d6de (patch)
tree2d15a2fc9b46140c7034bc906d6052bc5007c6eb /src/actions.cc
parent7dc834cc93efb9a4181ba7d29a72d49e596e9746 (diff)
some cleanups
make the OBActions instance not static
Diffstat (limited to 'src/actions.cc')
-rw-r--r--src/actions.cc2
1 files changed, 2 insertions, 0 deletions
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,