forked from AuroraMiddleware/gtk
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:
|
case mir_event_type_resize:
|
||||||
handle_resize_event (window, &event->resize);
|
handle_resize_event (window, &event->resize);
|
||||||
break;
|
break;
|
||||||
|
case mir_event_type_prompt_session_state_change:
|
||||||
|
// FIXME?
|
||||||
|
break;
|
||||||
|
case mir_event_type_orientation:
|
||||||
|
// FIXME?
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_warning ("Ignoring unknown Mir event %d", event->type);
|
||||||
// FIXME?
|
// FIXME?
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user