desktop-shell: Properly handle seat hotplugging
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 22 Apr 2014 00:42:58 +0000 (19:42 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 29 Apr 2014 23:49:59 +0000 (16:49 -0700)
commit024177cecb5bfad228804656e17ac02ac6fd96bf
treec0658b5c0442c969729156eed5ee5c0379b81bba
parent3434b33b19561e2de2711907e82eef51d9aa8831
desktop-shell: Properly handle seat hotplugging

Previously, desktop-shell would only create its internal shell_seat object
for each seat available when the desktop-shell module is loaded.  This is a
problem any time seats are created dynamically.  In particular, the Wayland
and RDP backends create seats on an as-needed basis and they weren't
getting picked up proprely by desktop-shell.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=77649
desktop-shell/shell.c
desktop-shell/shell.h