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 725525 - MetaScreen: use MetaCursorTracker to query the pointer position
MetaScreen: use MetaCursorTracker to query the pointer position
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-02 22:30 UTC by Giovanni Campagna
Modified: 2014-03-05 22:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
MetaScreen: use MetaCursorTracker to query the pointer position (4.74 KB, patch)
2014-03-02 22:30 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2014-03-02 22:30:18 UTC
Functionally equivalent is a big statement: need to check
MetaCursorTracker's (as well as GDK's and Clutter's) behavior with HiDPI.
And maybe fix it with a good old XIQueryPointer instead of using two
GDK calls...
Comment 1 Giovanni Campagna 2014-03-02 22:30:20 UTC
Created attachment 270731 [details] [review]
MetaScreen: use MetaCursorTracker to query the pointer position

Functionally equivalent in the X11 case, but also correct for
Wayland (where the X server doesn't have the updated pointer
position).
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-03-02 22:45:23 UTC
Review of attachment 270731 [details] [review]:

You should probably also fix window_focus_on_pointer_rest_callback in window.c
Comment 3 Giovanni Campagna 2014-03-05 22:09:57 UTC
Pushed. And yay for less XI2 code...