mir: actually pass the GdkMirScreen to display config change cb

This commit is contained in:
Marco Trevisan (Treviño) 2014-11-13 01:27:05 +01:00
parent e2ce0700a6
commit 92c2e99dda

View File

@ -124,7 +124,7 @@ _gdk_mir_screen_new (GdkDisplay *display)
screen = g_object_new (GDK_TYPE_MIR_SCREEN, NULL);
screen->display = display;
mir_connection_set_display_config_change_callback (get_connection (screen), config_changed_cb, display);
mir_connection_set_display_config_change_callback (get_connection (screen), config_changed_cb, screen);
update_display_config (screen);
return GDK_SCREEN (screen);