summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-17 14:27:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-17 18:14:51 +0900
commitb461830e643518e85b0bce2c96fa87df5f395e14 (patch)
tree4fe537d87e9f6ebcee2e3ff5750f36becb041250 /src/lib/elput
parent910f318ad9bf39af19d583876afcb25be2cfaafa (diff)
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
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index ed6f3f322d..08f06cbfd8 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -443,7 +443,7 @@ _elput_input_disable(Elput_Manager *manager)
443 443
444 EINA_LIST_FOREACH(manager->input.seats, l, seat) 444 EINA_LIST_FOREACH(manager->input.seats, l, seat)
445 seat->pending_motion = 1; 445 seat->pending_motion = 1;
446 libinput_suspend(manager->input.lib); 446 if (manager->input.lib) libinput_suspend(manager->input.lib);
447 _process_events(&manager->input); 447 _process_events(&manager->input);
448 manager->input.suspended = EINA_TRUE; 448 manager->input.suspended = EINA_TRUE;
449} 449}