summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-08-22 18:09:38 +0200
committerGuido Cella <guidocella91@gmail.com>2020-08-22 18:09:38 +0200
commit1c9a0d88222e2f0b1049aec82ba7f5fab2a3dad9 (patch)
treea2fd521bb52f8e27573e8613f84e39ffcf551a29
parent620da43933f2b192735d8e71196f89271007ce60 (diff)
enable gamma control
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 11ea951..28a831c 100644
--- a/dwl.c
+++ b/dwl.c
@@ -17,6 +17,7 @@
#include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
+#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_matrix.h>
@@ -1497,6 +1498,7 @@ setup(void)
wlr_screencopy_manager_v1_create(dpy);
wlr_data_device_manager_create(dpy);
wlr_primary_selection_v1_device_manager_create(dpy);
+ wlr_gamma_control_manager_v1_create(dpy);
wlr_viewporter_create(dpy);
/* Creates an output layout, which a wlroots utility for working with an