summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Manager.cpp b/src/Manager.cpp
index cd5daa1..735d58a 100644
--- a/src/Manager.cpp
+++ b/src/Manager.cpp
@@ -659,6 +659,8 @@ void Manager::handleButtonPress(XDeviceButtonEvent* bev)
if (wmwindow->isClientWindow(bev->window))
{
+ XSetClientPointer(x11->dpy, wmwindow->getClientWindow(),
+ dev->getDevice());
XAllowDeviceEvents(x11->dpy, dev->getDevice(),
ReplayThisDevice, CurrentTime);
}