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/Toolbar.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/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); |