diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-25 18:21:27 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-08-26 06:33:54 (GMT) |
commit | 9613d2cd83ce8a38f532246e432e01eec062bc13 (patch) | |
tree | 11b7e4f0bfde39d94d79084617f0aed2b1f88430 | |
parent | fbb2d16639491fdb0c49e388278fabcc4b0800f3 (diff) | |
download | fluxbox-9613d2cd83ce8a38f532246e432e01eec062bc13.zip fluxbox-9613d2cd83ce8a38f532246e432e01eec062bc13.tar.bz2 |
XAllowEvent's for CurrentTime
ML confirms that be.time seems to be dated or junk and
causes permanent freezes. Seen such myself but couldn't
sufficiently reproduce to pin a culprit.
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index 871c7e8..3ad5088 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2406,7 +2406,7 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) { | |||
2406 | if (screen().clickRaises()) | 2406 | if (screen().clickRaises()) |
2407 | raise(); | 2407 | raise(); |
2408 | 2408 | ||
2409 | XAllowEvents(display, ReplayPointer, be.time); | 2409 | XAllowEvents(display, ReplayPointer, CurrentTime); |
2410 | 2410 | ||
2411 | m_button_grab_x = be.x_root - frame().x() - frame().window().borderWidth(); | 2411 | m_button_grab_x = be.x_root - frame().x() - frame().window().borderWidth(); |
2412 | m_button_grab_y = be.y_root - frame().y() - frame().window().borderWidth(); | 2412 | m_button_grab_y = be.y_root - frame().y() - frame().window().borderWidth(); |