diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-22 18:56:05 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-22 19:07:30 (GMT) |
commit | 7d30d0007d4aed25be7c6b636a21a84855cd349d (patch) | |
tree | 113e330016dd08c349fd797c44dc4b1049eb6c73 /src/Slit.cc | |
parent | 507782e5d4e21ca9df9bf774228e373d9c3aef8c (diff) | |
download | fluxbox-7d30d0007d4aed25be7c6b636a21a84855cd349d.zip fluxbox-7d30d0007d4aed25be7c6b636a21a84855cd349d.tar.bz2 |
"the least oversight", part #2
playing with the side borders I figured that clicking them
(after ading them ;-) would freeze the pointer.
In addition harden the menu-triggering paths for slit and toolbar.
The menu will implicitly grba/release stuff, but in case it fails to
show up .... better safe than sorry.
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 1 |
1 files changed, 1 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 | } |