summaryrefslogtreecommitdiff
path: root/src/gs-manager.c
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-12 13:39:47 +0800
committerraveit65 <[email protected]>2018-05-14 21:22:26 +0200
commitabaa88eaf6b495949199afd5886a519f89c39f36 (patch)
treeeddcfc03740c765d59344ff0fdf81b79455dfd81 /src/gs-manager.c
parentce87b58ea6349d0a2b48ae1f7f01d5783027f7f5 (diff)
downloadmate-screensaver-abaa88eaf6b495949199afd5886a519f89c39f36.tar.bz2
mate-screensaver-abaa88eaf6b495949199afd5886a519f89c39f36.tar.xz
Fixed some gdk deprecations
Diffstat (limited to 'src/gs-manager.c')
-rw-r--r--src/gs-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index fe2e4fe..3774705 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1174,7 +1174,7 @@ manager_maybe_grab_window (GSManager *manager,
gdk_device_get_position (device, NULL, &x, &y);
monitor = gdk_display_get_monitor_at_point (display, x, y);
- gdk_flush ();
+ gdk_display_flush (display);
grabbed = FALSE;
if (gs_window_get_display (window) == display &&
gs_window_get_monitor (window) == monitor)
@@ -1638,7 +1638,7 @@ on_screen_monitors_changed (GdkScreen *screen,
gs_manager_request_unlock (manager);
}
- gdk_flush ();
+ gdk_display_flush (display);
gdk_x11_ungrab_server ();
}
}