X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Factions.cc;h=36b4f111acb72ddf7133115ce61411c7cede0c0d;hb=f8a47de5ec444c452093371e3db16857eb39a490;hp=c629006aeedd5f8ef9b47851c811a5e26cd1cd49;hpb=8ba0586bcbdc7fe9648f1063812126d71a041670;p=chaz%2Fopenbox 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;