forked from AuroraMiddleware/gtk
Fix coordinates reported from gdk_window_get_pointer (had sign reversed)
This commit is contained in:
parent
47acf79494
commit
6a82287005
@ -531,8 +531,8 @@ gdk_window_real_window_get_pointer (GdkDisplay *display,
|
||||
&tmpx, &tmpy,
|
||||
mask);
|
||||
/* We got the coords on the impl, conver to the window */
|
||||
tmpx += private->abs_x;
|
||||
tmpy += private->abs_y;
|
||||
tmpx -= private->abs_x;
|
||||
tmpy -= private->abs_y;
|
||||
|
||||
if (x)
|
||||
*x = tmpx;
|
||||
|
Loading…
Reference in New Issue
Block a user