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.
This commit is contained in:
Thomas Lübking 2016-08-25 20:21:27 +02:00 committed by Mathias Gumz
parent fbb2d16639
commit 9613d2cd83

View file

@ -2406,7 +2406,7 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
if (screen().clickRaises())
raise();
XAllowEvents(display, ReplayPointer, be.time);
XAllowEvents(display, ReplayPointer, CurrentTime);
m_button_grab_x = be.x_root - frame().x() - frame().window().borderWidth();
m_button_grab_y = be.y_root - frame().y() - frame().window().borderWidth();