From 2301349ad59751640ed9e59dd22edeafaf09da39 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 17 Jan 2019 20:16:23 +1000 Subject: Use noop output when there's no outputs connected Instead of having NULL workspace->output pointers, use a noop output. This should be safer. --- include/sway/server.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/server.h') diff --git a/include/sway/server.h b/include/sway/server.h index 0f30653f..9242ceb7 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -24,6 +24,7 @@ struct sway_server { const char *socket; struct wlr_backend *backend; + struct wlr_backend *noop_backend; struct wlr_compositor *compositor; struct wlr_data_device_manager *data_device_manager; -- cgit v1.2.3-54-g00ecf