aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-09-22 18:56:05 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2016-09-22 19:07:30 (GMT)
commit7d30d0007d4aed25be7c6b636a21a84855cd349d (patch)
tree113e330016dd08c349fd797c44dc4b1049eb6c73 /src/Window.cc
parent507782e5d4e21ca9df9bf774228e373d9c3aef8c (diff)
downloadfluxbox-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/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 2 insertions, 0 deletions
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