diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index a87fc7cf..f6720755 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <wlr/types/wlr_export_dmabuf_v1.h> | 17 | #include <wlr/types/wlr_export_dmabuf_v1.h> |
18 | #include <wlr/types/wlr_gamma_control_v1.h> | 18 | #include <wlr/types/wlr_gamma_control_v1.h> |
19 | #include <wlr/types/wlr_idle.h> | 19 | #include <wlr/types/wlr_idle.h> |
20 | #include <wlr/types/wlr_idle_notify_v1.h> | ||
20 | #include <wlr/types/wlr_layer_shell_v1.h> | 21 | #include <wlr/types/wlr_layer_shell_v1.h> |
21 | #include <wlr/types/wlr_linux_dmabuf_v1.h> | 22 | #include <wlr/types/wlr_linux_dmabuf_v1.h> |
22 | #include <wlr/types/wlr_pointer_constraints_v1.h> | 23 | #include <wlr/types/wlr_pointer_constraints_v1.h> |
@@ -116,6 +117,7 @@ bool server_init(struct sway_server *server) { | |||
116 | wlr_xdg_output_manager_v1_create(server->wl_display, root->output_layout); | 117 | wlr_xdg_output_manager_v1_create(server->wl_display, root->output_layout); |
117 | 118 | ||
118 | server->idle = wlr_idle_create(server->wl_display); | 119 | server->idle = wlr_idle_create(server->wl_display); |
120 | server->idle_notifier_v1 = wlr_idle_notifier_v1_create(server->wl_display); | ||
119 | server->idle_inhibit_manager_v1 = | 121 | server->idle_inhibit_manager_v1 = |
120 | sway_idle_inhibit_manager_v1_create(server->wl_display, server->idle); | 122 | sway_idle_inhibit_manager_v1_create(server->wl_display, server->idle); |
121 | 123 | ||