aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index a4a0922..1205d79 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -689,8 +689,12 @@ void BScreen::buttonPressEvent(XButtonEvent &be) {
689 imageControl().installRootColormap(); 689 imageControl().installRootColormap();
690 690
691 Keys *keys = Fluxbox::instance()->keys(); 691 Keys *keys = Fluxbox::instance()->keys();
692 keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP, 692 if (keys->doAction(be.type, be.state, be.button, Keys::GLOBAL|Keys::ON_DESKTOP,
693 0, be.time); 693 0, be.time)) {
694 XAllowEvents(Fluxbox::instance()->display(), SyncPointer, CurrentTime);
695 } else {
696 XAllowEvents(Fluxbox::instance()->display(), ReplayPointer, CurrentTime);
697 }
694} 698}
695 699
696void BScreen::cycleFocus(int options, const ClientPattern *pat, bool reverse) { 700void BScreen::cycleFocus(int options, const ClientPattern *pat, bool reverse) {