Commit 05243627 authored by John Ralls's avatar John Ralls

Reverse signs on gdk <-> ns x coordinate transforms.

Closes #1711
parent 261f1dc3
......@@ -612,7 +612,7 @@ _gdk_quartz_window_gdk_xy_to_xy (gint gdk_x,
*ns_y = screen_quartz->orig_y - gdk_y;
if (ns_x)
*ns_x = gdk_x - screen_quartz->orig_x;
*ns_x = gdk_x + screen_quartz->orig_x;
}
void
......@@ -627,7 +627,7 @@ _gdk_quartz_window_xy_to_gdk_xy (gint ns_x,
*gdk_y = screen_quartz->orig_y - ns_y;
if (gdk_x)
*gdk_x = ns_x + screen_quartz->orig_x;
*gdk_x = ns_x - screen_quartz->orig_x;
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment