chiark / gitweb /
terminal: always call _enable/_disable on evdev devices
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 20 Sep 2014 10:34:43 +0000 (12:34 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 12:27:02 +0000 (14:27 +0200)
commit6022343476982439dfc2e06bf54db78a0c8c6bff
tree01dc10b6632bf630485533d45a58701812379d75
parent4c4e4128f3763eb3d4836a23b9c46b6122e81d62
terminal: always call _enable/_disable on evdev devices

The current pause/resume logic kinda intertwines the resume/pause and
enable/disable functions. Lets avoid that non-obvious behavior and always
make resume call into enable, and pause call into disable, if appropriate.
src/libsystemd-terminal/idev-evdev.c