mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
mir: Don't assert on unknown Mir events.
If we get a Mir event we don't understand generate a warning instead of an assert.
This commit is contained in:
parent
e2882e4845
commit
c41231cc0f
@ -413,8 +413,14 @@ gdk_mir_event_source_queue_event (GdkDisplay *display,
|
||||
case mir_event_type_resize:
|
||||
handle_resize_event (window, &event->resize);
|
||||
break;
|
||||
case mir_event_type_prompt_session_state_change:
|
||||
// FIXME?
|
||||
break;
|
||||
case mir_event_type_orientation:
|
||||
// FIXME?
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
g_warning ("Ignoring unknown Mir event %d", event->type);
|
||||
// FIXME?
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user