summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkeventsource.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-31 21:22:57 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-10-31 21:27:24 -0400
commit463fba18a666ab00bbf8969e4353cf59857aaa8b (patch)
treeabbe6eaabdea93f88265042ed56e2ca6fb88cbeb /gdk/broadway/gdkeventsource.c
parent68a61e9ac6c7c1be5cc8c3c31450296afc107634 (diff)
downloadgtk+-463fba18a666ab00bbf8969e4353cf59857aaa8b.tar.gz
Port to gdk_display_get_root_window
This is the replacement for the GdkScreen api of the same name.
Diffstat (limited to 'gdk/broadway/gdkeventsource.c')
-rw-r--r--gdk/broadway/gdkeventsource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c
index 0c4612a6ed..e02421ada8 100644
--- a/gdk/broadway/gdkeventsource.c
+++ b/gdk/broadway/gdkeventsource.c
@@ -351,7 +351,7 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
case BROADWAY_EVENT_SCREEN_SIZE_CHANGED:
screen = gdk_display_get_default_screen (display);
- window = gdk_screen_get_root_window (screen);
+ window = gdk_display_get_root_window (display);
window->width = message->screen_resize_notify.width;
window->height = message->screen_resize_notify.height;