The attached video shows that once the mouse click is being performed in the window using the touchpad, the widget no longer receives "enter" events, therefore it does not know that it needs to react.
My xinput is
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=11 [slave pointer (2)]
⎜ ↳ Bluetooth Mouse V1 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Integrated Camera id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]
The attached video shows that once the mouse click is being performed in the window using the touchpad, the widget no longer receives "enter" events, therefore it does not know that it needs to react.
My xinput is
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=11 [slave pointer (2)]
⎜ ↳ Bluetooth Mouse V1 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Integrated Camera id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]
touchpad info is
$ xinput list-props 10
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (254): 1
Device Accel Constant Deceleration (255): 2.500000
Device Accel Adaptive Deceleration (256): 1.000000
Device Accel Velocity Scaling (257): 12.500000
Synaptics Edges (258): 1771, 5453, 1653, 4667
Synaptics Finger (259): 25, 30, 256
Synaptics Tap Time (260): 180
Synaptics Tap Move (261): 243
Synaptics Tap Durations (262): 180, 180, 100
Synaptics ClickPad (263): 0
Synaptics Tap FastTap (264): 0
Synaptics Middle Button Timeout (265): 75
Synaptics Two-Finger Pressure (266): 282
Synaptics Two-Finger Width (267): 7
Synaptics Scrolling Distance (268): 110, 110
Synaptics Edge Scrolling (269): 1, 0, 0
Synaptics Two-Finger Scrolling (270): 0, 0
Synaptics Move Speed (271): 1.000000, 1.750000, 0.036160, 40.000000
Synaptics Edge Motion Pressure (272): 30, 160
Synaptics Edge Motion Speed (273): 1, 442
Synaptics Edge Motion Always (274): 0
Synaptics Off (275): 1
Synaptics Locked Drags (276): 0
Synaptics Locked Drags Timeout (277): 5000
Synaptics Tap Action (278): 0, 0, 0, 0, 0, 0, 0
Synaptics Click Action (279): 1, 1, 0
Synaptics Circular Scrolling (280): 0
Synaptics Circular Scrolling Distance (281): 0.100000
Synaptics Circular Scrolling Trigger (282): 0
Synaptics Circular Pad (283): 0
Synaptics Palm Detection (284): 0
Synaptics Palm Dimensions (285): 10, 200
Synaptics Coasting Speed (286): 20.000000, 50.000000
Synaptics Pressure Motion (287): ... of unknown type CARDINAL
Synaptics Pressure Motion Factor (288): 1.000000, 1.000000
Synaptics Resolution Detect (289): 1
Synaptics Grab Event Device (290): 1
Synaptics Gestures (291): 1
Synaptics Capabilities (292): 1, 0, 1, 1, 1, 1, 1
Synaptics Pad Resolution (293): 84, 51
Synaptics Area (294): 0, 0, 0, 0
Synaptics Soft Button Areas (295): 0, 0, 0, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (296): 8, 8
Device Product ID (249): 2, 7
Device Node (250): "/dev/input/event3"