GNOME Bugzilla – Bug 412486
gnome-screensaver doesn't work with xnest
Last modified: 2007-02-28 20:02:53 UTC
Please describe the problem: As seen from ubuntu: https://launchpad.net/bugs/84662 From my tracing, it seems like gnome-screensaver is trying to watch for mouse motion events for the Xnest root window (which hasn't registered for such events), preventing Xnest itself from receiving the mouse motion event. Of course, I may gotten this wrong. Steps to reproduce: Xnest -ac :20& DISPLAY=:20 xeyes& Actual results: xeyes doesn't follow the cursor reliably. Expected results: xeyes should follow the cursor reliably. Does this happen every time? Yes. Other information:
Created attachment 83436 [details] [review] Patch to make gnome-screensaver not watch for mouse motion events from windows which haven't registered for such events Patch which should fix the issue, treating mouse motion events similarly to keyboard input events (i.e.: ignore them if the window isn't watching for them). Also took the liberty of making some minor cleanups to the surrounding issue
I have tried this patch and it works fine.
Yep work fine, thanks :)
Nice catch. Committed. Thanks!