diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index 3456931c..ee6b7cde 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -68,6 +68,7 @@ bool server_init(struct sway_server *server) { | |||
68 | wl_signal_add(&server->idle_inhibit->events.new_inhibitor, | 68 | wl_signal_add(&server->idle_inhibit->events.new_inhibitor, |
69 | &server->new_idle_inhibitor_v1); | 69 | &server->new_idle_inhibitor_v1); |
70 | server->new_idle_inhibitor_v1.notify = handle_idle_inhibitor_v1; | 70 | server->new_idle_inhibitor_v1.notify = handle_idle_inhibitor_v1; |
71 | wl_list_init(&server->idle_inhibitors_v1); | ||
71 | 72 | ||
72 | server->layer_shell = wlr_layer_shell_create(server->wl_display); | 73 | server->layer_shell = wlr_layer_shell_create(server->wl_display); |
73 | wl_signal_add(&server->layer_shell->events.new_surface, | 74 | wl_signal_add(&server->layer_shell->events.new_surface, |