We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e296c1 commit 36d1856Copy full SHA for 36d1856
mate-panel/main.c
@@ -70,6 +70,7 @@ main (int argc, char **argv)
70
char *desktopfile;
71
GOptionContext *context;
72
GError *error;
73
+ GdkDisplay *display;
74
GdkScreen *screen;
75
GtkCssProvider *css;
76
GtkStyleProvider *provider;
@@ -174,7 +175,8 @@ main (int argc, char **argv)
174
175
176
/* Flush to make sure our struts are seen by everyone starting
177
* immediate after (eg, the caja desktop). */
- gdk_flush ();
178
+ display = gdk_display_get_default ();
179
+ gdk_display_flush (display);
180
181
/* Do this at the end, to be sure that we're really ready when
182
* connecting to the session manager */
0 commit comments