summaryrefslogtreecommitdiff
path: root/desktop-shell/shell.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2014-04-21 19:42:58 -0500
committerKristian Høgsberg <krh@bitplanet.net>2014-04-29 16:49:59 -0700
commit024177cecb5bfad228804656e17ac02ac6fd96bf (patch)
treec0658b5c0442c969729156eed5ee5c0379b81bba /desktop-shell/shell.h
parent3434b33b19561e2de2711907e82eef51d9aa8831 (diff)
downloadweston-024177cecb5bfad228804656e17ac02ac6fd96bf.tar.gz
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
Diffstat (limited to 'desktop-shell/shell.h')
-rw-r--r--desktop-shell/shell.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-shell/shell.h b/desktop-shell/shell.h
index 09f8b79f..6e637850 100644
--- a/desktop-shell/shell.h
+++ b/desktop-shell/shell.h
@@ -199,6 +199,7 @@ struct desktop_shell {
struct weston_layer minimized_layer;
+ struct wl_listener seat_create_listener;
struct wl_listener output_create_listener;
struct wl_listener output_move_listener;
struct wl_list output_list;