diff options
author | raveit65 <[email protected]> | 2018-08-12 16:15:51 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-08-15 17:59:32 +0200 |
commit | 6ef0247eefb342d0d345a97f201aea217203b499 (patch) | |
tree | 085aba4fc3b8ba12300063896755f61f56e48655 /libmate-desktop/mate-rr-config.c | |
parent | 953da779b2dd797aa53ae11e0c6da2d6822c7e56 (diff) | |
download | mate-desktop-6ef0247eefb342d0d345a97f201aea217203b499.tar.bz2 mate-desktop-6ef0247eefb342d0d345a97f201aea217203b499.tar.xz |
mate-rr-config: replace deprecated gdk_flush
Diffstat (limited to 'libmate-desktop/mate-rr-config.c')
-rw-r--r-- | libmate-desktop/mate-rr-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmate-desktop/mate-rr-config.c b/libmate-desktop/mate-rr-config.c index dfff1b6..0f96a9b 100644 --- a/libmate-desktop/mate-rr-config.c +++ b/libmate-desktop/mate-rr-config.c @@ -1290,6 +1290,7 @@ mate_rr_config_apply_with_time (MateRRConfig *config, MateRROutputInfo **outputs; gboolean result = FALSE; int i; + GdkDisplay *display; g_return_val_if_fail (MATE_IS_RR_CONFIG (config), FALSE); g_return_val_if_fail (MATE_IS_RR_SCREEN (screen), FALSE); @@ -1309,7 +1310,8 @@ mate_rr_config_apply_with_time (MateRRConfig *config, crtc_assignment_free (assignment); - gdk_flush (); + display = gdk_display_get_default (); + gdk_display_flush (display); } return result; |