wayland: Remove unused field
This commit is contained in:
@ -66,7 +66,6 @@ struct _GdkWaylandScreen
|
||||
|
||||
/* Xinerama/RandR 1.2 */
|
||||
GPtrArray *monitors;
|
||||
gint primary_monitor;
|
||||
|
||||
GHashTable *settings;
|
||||
GsdXftSettings xft_settings;
|
||||
@ -133,7 +132,6 @@ init_multihead (GdkScreen *screen)
|
||||
GdkWaylandScreen *screen_wayland = GDK_WAYLAND_SCREEN (screen);
|
||||
|
||||
screen_wayland->monitors = g_ptr_array_new_with_free_func (free_monitor);
|
||||
screen_wayland->primary_monitor = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -215,7 +213,7 @@ gdk_wayland_screen_get_n_monitors (GdkScreen *screen)
|
||||
static gint
|
||||
gdk_wayland_screen_get_primary_monitor (GdkScreen *screen)
|
||||
{
|
||||
return GDK_WAYLAND_SCREEN (screen)->primary_monitor;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static gint
|
||||
|
||||
Reference in New Issue
Block a user