Popups popping through windows using built-in rootless WM

Owen Rees owen.rees@hp.com
Fri May 20 15:45:00 GMT 2005


--On 20 May 2005 14:38 +0200 Alexander Gottwald wrote:

> I'm not sure how a minimized window or a partly obscured window can
> notice mouse  movement in that area. That's the main problem.

That made me realise that the obvious tool to investigate this is xev.

MotionNotify events come through from the covered (or minimized) part of 
the event tester window, but at a much reduced rate compared to the exposed 
part. Normally the events go by very fast as you move the mouse, but they 
seem to be about half a second apart moving over the covered part. I am 
also seeing EnterNotify, KeymapNotify and LeaveNotify events when moving 
over the covered part of the event tester.

(Button|Key)|(Press|Release) events are not occurring over the covered part 
or when minimized.

The events sometimes do not happen. This seems to be related to the order 
in which various windows have focus and/or move in the stacking order and 
how the switch is done, but I have not found a repeatable way to stop the 
events.

I am also getting VisibilityNotify and Expose events when other X windows 
are moved over where the event tester would be if it were not minimized. 
The non-X windows do not generate these events, nor do they generate the 
events when the event tester window is restored.


-- 
Owen Rees
Hewlett Packard Laboratories, Bristol, UK




More information about the Cygwin-xfree mailing list