try ignoring NotifyUngrab to fix focus revert issues when closing
unmanaged windows that grab pointer
This commit is contained in:
parent
0fbe4c728d
commit
aaf3651830
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -3013,7 +3013,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue