GNOME Bugzilla – Bug 727337
Wayland: Arange displays makes wrong "height"
Last modified: 2015-03-02 15:10:23 UTC
This is the case: built-in monitor = 1366x768 Secondary external monitor = 1920x1080 Primary Displays initial arrangement: http://imgur.com/JOix4EX,xpbnIJ9 and I changed to: http://imgur.com/JOix4EX,xpbnIJ9#1 Now, the secondary monitor feels like streched, like if the bottom edge remains where it was, and the top one moved fine. The thing is that, Main.layoutManager.monitors[1].heigth is fine, 768px.
I can confirm this bug in current master. When arranged laptop (primary) display to have the top edge lower than the other display, the pointer on the laptop (smaller) display is constrained from moving to the very bottom. The lower I arrange the laptop display, the higher the constraint is.
Created attachment 298280 [details] [review] Fix pointer constraining
Review of attachment 298280 [details] [review]: Good catch ::: src/backends/native/meta-backend-native.c @@ +119,3 @@ ClutterPoint current; unsigned int i; + float nx, ny; Not your fault, but since we're touching these variables: please change them to cx/cy . nx/ny sound like "new x/y" which isn't what they're used for here, they're "current x/y".
Created attachment 298303 [details] [review] Fix pointer constraining renamed nx/ny to cx/cy
Pushed, thanks