summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.cc b/src/actions.cc
index c629006a..36b4f111 100644
--- a/src/actions.cc
+++ b/src/actions.cc
@@ -290,8 +290,8 @@ void Actions::motionHandler(const XMotionEvent &e)
// compress changes to a window into a single change
XEvent ce;
while (XCheckTypedWindowEvent(**otk::display, e.window, e.type, &ce)) {
- x_root = e.x_root;
- y_root = e.y_root;
+ x_root = ce.x_root;
+ y_root = ce.y_root;
}
int screen;