uterm_monitor: refresh seats before scanning the system
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 5 May 2012 20:40:32 +0000 (22:40 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 5 May 2012 20:40:32 +0000 (22:40 +0200)
commitfd9a68ae2ebaa0609c82323e9dd56763c478ac74
treea3b1463949cef82b713648de6a818dc427d22ece
parentc81a83fb3aef9b6bbc1316b72eb8467eb581a2d6
uterm_monitor: refresh seats before scanning the system

We currently only scan devices in uterm_monitor_scan() but we should read
the initial seat values before even searching for devices.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_monitor.c