Focus event leaks through when resizing window
xfwm4 version 4.18.0
I did however initially notice this a longer time ago so it might be a regression from 4.14 -> 4.16.
Test steps:
- Run xev and any other application and place them as follows:
- Carefully take the top-left handle and drag it further to the top-left (this step is not 100% reliable)
- Immediately when the resize happens xev reports the following:
EnterNotify event, serial 37, synthetic NO, window 0x3a00001,
root 0x6c0, subw 0x0, time 34711670, (216,132), root:(764,398),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus NO, state 272
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 37, synthetic NO, window 0x3a00001,
mode NotifyGrab, detail NotifyPointer
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LeaveNotify event, serial 37, synthetic NO, window 0x3a00001,
root 0x6c0, subw 0x0, time 34711670, (216,132), root:(764,398),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus NO, state 272
This should not happen because xev is not in focus nor being clicked on to put it into focus.