diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-09-20 09:50:10 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-20 11:46:49 +0200 |
commit | 6221d249d1f03d235a23a284c597c86676b32d2f (patch) | |
tree | 3582aa87859ab5e03edecd354233ba1bfa674769 /src/libsystemd-terminal/grdev.c | |
parent | a3eabec96b872bbf581c9bfa81ecc9c2819b8de8 (diff) |
terminal: grdev: refresh device state on hotplug events
Whenever we get udev hotplug events, re-read the device state so we
properly detect any changed in the display setups.
Diffstat (limited to 'src/libsystemd-terminal/grdev.c')
-rw-r--r-- | src/libsystemd-terminal/grdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-terminal/grdev.c b/src/libsystemd-terminal/grdev.c index bb89ee7170..3e3833fc95 100644 --- a/src/libsystemd-terminal/grdev.c +++ b/src/libsystemd-terminal/grdev.c @@ -1150,7 +1150,7 @@ void grdev_session_hotplug_drm(grdev_session *session, struct udev_device *ud) { if (!card) return; - /* TODO: hotplug card */ + grdev_drm_card_hotplug(card, ud); } static void session_configure(grdev_session *session) { |