aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index cd411d3b..5b34852c 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -28,6 +28,8 @@ struct sway_server {
struct wlr_backend *noop_backend;
struct wlr_compositor *compositor;
+ struct wl_listener compositor_new_surface;
+
struct wlr_data_device_manager *data_device_manager;
struct sway_input_manager *input;
@@ -99,6 +101,7 @@ void server_fini(struct sway_server *server);
bool server_start(struct sway_server *server);
void server_run(struct sway_server *server);
+void handle_compositor_new_surface(struct wl_listener *listener, void *data);
void handle_new_output(struct wl_listener *listener, void *data);
void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data);