commit c35a34262f8da368f65d37f811a2264647e0dae6
parent 27f65b94ae35a7b7342ed331884f765141fad373
Author: emersion <contact@emersion.fr>
Date: Sun, 22 Jul 2018 16:27:54 +0100
Enable wlr-gamma-control-unstable-v1
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sway/server.c b/sway/server.c
@@ -9,6 +9,7 @@
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
#include <wlr/types/wlr_gamma_control.h>
+#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_layer_shell.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
@@ -53,6 +54,7 @@ bool server_init(struct sway_server *server) {
wlr_data_device_manager_create(server->wl_display);
wlr_gamma_control_manager_create(server->wl_display);
+ wlr_gamma_control_manager_v1_create(server->wl_display);
wlr_primary_selection_device_manager_create(server->wl_display);
server->new_output.notify = handle_new_output;