After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 302467 - Emulate motion hints on the client side
Emulate motion hints on the client side
Status: RESOLVED DUPLICATE of bug 302486
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-04-29 18:41 UTC by Soren Sandmann Pedersen
Modified: 2005-05-06 18:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (8.63 KB, patch)
2005-04-29 18:47 UTC, Soren Sandmann Pedersen
none Details | Review

Description Soren Sandmann Pedersen 2005-04-29 18:41:16 UTC
This patch emulates motion hints on the client side instead of selecting for
them on the server.

This is needed for getting global motion events, which would be done by
selecting for motion events on all windows. If some windows have motion hints
selected and nobody calls QueryPointer, motions would not be generated.

I am not totally happy with this patch as it selects for crossing, button and
key events, then filters them away if the application didn't actually select for
them. It has to be done this way though, as the X server resets the 'don't
generate motion hints' when those events are generated.
Comment 1 Soren Sandmann Pedersen 2005-04-29 18:47:42 UTC
Created attachment 45835 [details] [review]
patch
Comment 2 Soren Sandmann Pedersen 2005-05-06 18:43:06 UTC
Probably not useful to keep this separate from the global motion.

*** This bug has been marked as a duplicate of 302486 ***