diff --git a/src/mir_window.c b/src/mir_window.c index 2656cf3ea..8d64f9195 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -368,8 +368,6 @@ static void handleInput(const MirInputEvent* input_event, _GLFWwindow* window) static void handleEvent(const MirEvent* event, _GLFWwindow* window) { - if (!event) - return; int type = mir_event_get_type(event); switch (type)