aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-22 16:22:34 +0100
committeremersion <contact@emersion.fr>2018-08-02 23:33:59 +0100
commita5cab82a0f1a766e25a017036a8f7f39db0c889a (patch)
treedecedf3e946be18e051e830234dd266895640aa3 /rootston
parenta149c2370afa995968fde78721c36bb59e8e4b59 (diff)
rootston: fire up wlr-gamma-control-unstable-v1
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 786ac99e..658611e3 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -9,6 +9,7 @@
#include <wlr/types/wlr_cursor.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_inhibit_v1.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_input_inhibitor.h>
@@ -868,6 +869,8 @@ struct roots_desktop *desktop_create(struct roots_server *server,
desktop->gamma_control_manager = wlr_gamma_control_manager_create(
server->wl_display);
+ desktop->gamma_control_manager_v1 = wlr_gamma_control_manager_v1_create(
+ server->wl_display);
desktop->screenshooter = wlr_screenshooter_create(server->wl_display);
desktop->export_dmabuf_manager_v1 =
wlr_export_dmabuf_manager_v1_create(server->wl_display);