elput - fix crash on shutdown where input.lib was NULL

this was null checked everywhere except in 1 place. fix. now more
crash on shutdown now
parent e907cc3c
......@@ -411,7 +411,7 @@ _elput_input_disable(Elput_Manager *manager)
EINA_LIST_FOREACH(manager->input.seats, l, seat)
seat->pending_motion = 1;
libinput_suspend(manager->input.lib);
if (manager->input.lib) libinput_suspend(manager->input.lib);
_process_events(&manager->input);
manager->input.suspended = EINA_TRUE;
}
......
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