Commit c41231cc authored by Robert Ancell's avatar Robert Ancell

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.
parent e2882e48
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment