display: Don't change default seat in flight
gdk_display_add_seat was prepending new seats to the list, which was effectively making the added seat the new default. Since that is probably not intended, append to the list.
This commit is contained in:
		| @ -2373,7 +2373,7 @@ gdk_display_add_seat (GdkDisplay *display, | ||||
|   g_return_if_fail (GDK_IS_DISPLAY (display)); | ||||
|   g_return_if_fail (GDK_IS_SEAT (seat)); | ||||
|  | ||||
|   display->seats = g_list_prepend (display->seats, g_object_ref (seat)); | ||||
|   display->seats = g_list_append (display->seats, g_object_ref (seat)); | ||||
|   g_signal_emit (display, signals[SEAT_ADDED], 0, seat); | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen