diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Slit.cc | 1 | ||||
-rw-r--r-- | src/Toolbar.cc | 1 | ||||
-rw-r--r-- | src/Window.cc | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index a7bd50f..122f477 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -965,6 +965,7 @@ void Slit::buttonPressEvent(XButtonEvent &be) { | |||
965 | return; | 965 | return; |
966 | } | 966 | } |
967 | 967 | ||
968 | XAllowEvents(dpy, SyncPointer, CurrentTime); | ||
968 | if (!myMenuWasVisible) | 969 | if (!myMenuWasVisible) |
969 | screen().placementStrategy().placeAndShowMenu(m_slitmenu, be.x_root, be.y_root, false); | 970 | screen().placementStrategy().placeAndShowMenu(m_slitmenu, be.x_root, be.y_root, false); |
970 | } | 971 | } |
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index f343552..aa9bc12 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -550,6 +550,7 @@ void Toolbar::buttonPressEvent(XButtonEvent &be) { | |||
550 | return; | 550 | return; |
551 | } | 551 | } |
552 | 552 | ||
553 | XAllowEvents(dpy, SyncPointer, CurrentTime); | ||
553 | screen() | 554 | screen() |
554 | .placementStrategy() | 555 | .placementStrategy() |
555 | .placeAndShowMenu(menu(), be.x_root, be.y_root, false); | 556 | .placeAndShowMenu(menu(), be.x_root, be.y_root, false); |
diff --git a/src/Window.cc b/src/Window.cc index 1e32bd5..664c0a5 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2439,6 +2439,8 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) { | |||
2439 | // - refeed the event into the queue so the app or titlebar subwindow gets it | 2439 | // - refeed the event into the queue so the app or titlebar subwindow gets it |
2440 | if (be.subwindow) | 2440 | if (be.subwindow) |
2441 | XAllowEvents(display, ReplayPointer, CurrentTime); | 2441 | XAllowEvents(display, ReplayPointer, CurrentTime); |
2442 | else | ||
2443 | XAllowEvents(display, SyncPointer, CurrentTime); | ||
2442 | 2444 | ||
2443 | // if nothing was bound via keys-file then | 2445 | // if nothing was bound via keys-file then |
2444 | // - raise() if clickRaise is enabled | 2446 | // - raise() if clickRaise is enabled |