[broadway] Fixup build
Seems the return value of device_query_state was removed, it was TRUE always anyway.
This commit is contained in:
parent
c6a7a0889c
commit
859b6888c7
@ -383,11 +383,9 @@ gdk_broadway_device_window_at_position (GdkDevice *device,
|
||||
screen = gdk_screen_get_default ();
|
||||
root_window = gdk_screen_get_root_window (screen);
|
||||
|
||||
res = gdk_broadway_device_query_state (device, root_window, NULL, &window, NULL, NULL, win_x, win_y, mask);
|
||||
if (res)
|
||||
return window;
|
||||
gdk_broadway_device_query_state (device, root_window, NULL, &window, NULL, NULL, win_x, win_y, mask);
|
||||
|
||||
return NULL;
|
||||
return window;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user