mir: initialize surface name with program name

This commit is contained in:
Marco Trevisan (Treviño) 2014-11-21 04:44:44 +01:00
parent 5a0d1a79c5
commit 1730bb0e81

View File

@ -186,7 +186,7 @@ create_mir_surface (GdkDisplay *display,
MirSurfaceParameters parameters; MirSurfaceParameters parameters;
MirConnection *connection; MirConnection *connection;
parameters.name = "GTK+ Mir"; parameters.name = g_get_prgname ();
parameters.width = width; parameters.width = width;
parameters.height = height; parameters.height = height;
parameters.pixel_format = _gdk_mir_display_get_pixel_format (display, buffer_usage); parameters.pixel_format = _gdk_mir_display_get_pixel_format (display, buffer_usage);