Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mate-rr-config: replace deprecated gdk_flush
  • Loading branch information
raveit65 committed Aug 15, 2018
1 parent 953da77 commit 6ef0247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmate-desktop/mate-rr-config.c
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit 6ef0247

Please sign in to comment.