Here is the output of the leftclick: EnterNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 944204, (26,39), root:(1966,89), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 2064 KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: 4294967213 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 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 944204, (26,39), root:(1966,89), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 2064 ButtonPress event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 944204, (26,39), root:(1966,89), state 0x10, button 4, same_screen YES EnterNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 944204, (26,39), root:(1966,89), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 2064 KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: 4294967275 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 ButtonPress event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 944280, (26,39), root:(1966,89), state 0x810, button 1, same_screen YES ButtonRelease event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 944296, (26,39), root:(1966,89), state 0x910, button 1, same_screen YES ButtonRelease event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 944296, (26,39), root:(1966,89), state 0x810, button 4, same_screen YES LeaveNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 944296, (26,39), root:(1966,89), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 16 And the rightclick EnterNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 849069, (46,49), root:(1986,99), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 4112 KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: 4294967213 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 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 849069, (46,49), root:(1986,99), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 4112 ButtonPress event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 849069, (46,49), root:(1986,99), state 0x10, button 5, same_screen YES EnterNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 849069, (46,49), root:(1986,99), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 4112 KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: 4294967275 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 ButtonPress event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 849144, (46,49), root:(1986,99), state 0x1010, button 3, same_screen YES ButtonRelease event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 849158, (46,49), root:(1986,99), state 0x1410, button 3, same_screen YES ButtonRelease event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x5600002, time 849158, (46,49), root:(1986,99), state 0x1010, button 5, same_screen YES LeaveNotify event, serial 36, synthetic NO, window 0x5600001, root 0x1ad, subw 0x0, time 849158, (46,49), root:(1986,99), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 16