xev for primary layout:
KeymapNotify event, serial 38, synthetic NO, window 0x0, keys: 2 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
FocusOut event, serial 38, synthetic NO, window 0x4e00001, mode NotifyGrab, detail NotifyNonlinear
FocusIn event, serial 38, synthetic NO, window 0x4e00001, mode NotifyUngrab, detail NotifyNonlinear
--------------- xev for secondary layout:
FocusOut event, serial 38, synthetic NO, window 0x4e00001, mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 38, synthetic NO, window 0x4e00001, mode NotifyUngrab, detail NotifyAncestor
----
what is the difference between NotifyNonlinear and NotifyAncestor?
xev for primary layout:
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 2 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
FocusOut event, serial 38, synthetic NO, window 0x4e00001,
mode NotifyGrab, detail NotifyNonlinear
FocusIn event, serial 38, synthetic NO, window 0x4e00001,
mode NotifyUngrab, detail NotifyNonlinear
---------------
xev for secondary layout:
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 2 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
FocusOut event, serial 38, synthetic NO, window 0x4e00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 38, synthetic NO, window 0x4e00001,
mode NotifyUngrab, detail NotifyAncestor
----
what is the difference between NotifyNonlinear and NotifyAncestor?