all repos — fluxbox @ aaf3651830be41b344696d6d0bdfaa8960e01bc5

custom fork of the fluxbox windowmanager

try ignoring NotifyUngrab to fix focus revert issues when closing 
unmanaged windows that grab pointer
simonb simonb
commit

aaf3651830be41b344696d6d0bdfaa8960e01bc5

parent

0fbe4c728d9be38fb63a980e9f88b0a51063ed4c

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,10 @@

(Format: Year/Month/Day) Changes for 1.0rc2: *06/06/19: + * Try ignoring NotifyUngrab EnterNotify events for focus (Simon) + - should fix incorrect focus reverts when menus etc closed with + mouse focus, but possibly have side effects, do tell...) + Window.cc * Fix menu placement issue with (vertical) xinerama (Simon) - note, doesn't fix "submenus open on wrong screen" issue, that requires some more serious data movement.
M src/Window.ccsrc/Window.cc

@@ -3013,7 +3013,7 @@

void FluxboxWindow::enterNotifyEvent(XCrossingEvent &ev) { // ignore grab activates, or if we're not visible - if (ev.mode == NotifyGrab || + if (ev.mode == NotifyGrab || ev.mode == NotifyUngrab || !isVisible()) { return; }