forked from AuroraMiddleware/gtk
broadway: Build fixes
The Broadway backend does not build after commit c409fca7
dropped some
occurrences of the root window from GDK.
This commit is contained in:
parent
c468cdf8b6
commit
12b155eae7
@ -172,9 +172,9 @@ gdk_broadway_device_query_state (GdkDevice *device,
|
||||
if (root_y)
|
||||
*root_y = device_root_y;
|
||||
if (win_x)
|
||||
*win_x = device_root_x - toplevel->x;
|
||||
*win_x = device_root_x;
|
||||
if (win_y)
|
||||
*win_y = device_root_y - toplevel->y;
|
||||
*win_y = device_root_y;
|
||||
if (mask)
|
||||
*mask = mask32;
|
||||
if (child_window)
|
||||
|
@ -724,7 +724,7 @@ gdk_window_broadway_get_device_state (GdkWindow *window,
|
||||
return FALSE;
|
||||
|
||||
GDK_DEVICE_GET_CLASS (device)->query_state (device, window,
|
||||
NULL, &child,
|
||||
&child,
|
||||
NULL, NULL,
|
||||
x, y, mask);
|
||||
return child != NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user