diff --git a/gdk/broadway/gdkdevice-broadway.c b/gdk/broadway/gdkdevice-broadway.c index 5d5cde3720..e922c586ac 100644 --- a/gdk/broadway/gdkdevice-broadway.c +++ b/gdk/broadway/gdkdevice-broadway.c @@ -188,7 +188,7 @@ gdk_broadway_device_query_state (GdkDevice *device, if (root_y) *root_y = device_root_y; if (win_x) - *win_x = device_root_y - toplevel->x; + *win_x = device_root_x - toplevel->x; if (win_y) *win_y = device_root_y - toplevel->y; if (mask)