summaryrefslogtreecommitdiff
path: root/glx/glxscreens.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-10-01 21:19:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-10-02 12:16:47 +1000
commit45f447dafded5adfe11b7df3325c2d8f6ae0639b (patch)
tree1473b6da2dfe883d7c75ba85b7809d2e5b55bb1b /glx/glxscreens.c
parent64fe5784b49347e1fd27b0c463be5c16557594c9 (diff)
dix: force a minimum of 0 for screen coordinates.
Currently the root coordinates may fall into ]-1..0] if the subpixel remainder is less than 0. Screen coordinates mustn't go below 0, so use miPointerSetPosition to cap off the remainder if the coordinates are below 0. This is cheating a bit, a more comprehensive solution to deal with subpixels correctly when crossing screens is needed. For now, this'll do. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Simon Thum <simon.thum@gmx.de>
Diffstat (limited to 'glx/glxscreens.c')
0 files changed, 0 insertions, 0 deletions