aboutsummaryrefslogtreecommitdiffstats
path: root/sway/server.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-22 16:27:54 +0100
committerLibravatar emersion <contact@emersion.fr>2018-07-22 16:27:54 +0100
commitc35a34262f8da368f65d37f811a2264647e0dae6 (patch)
treeae7891bf8a14c9b22b8085391b9c197882ec6747 /sway/server.c
parentMerge pull request #2320 from RedSoxFan/reset-outputs-on-reload (diff)
downloadsway-c35a34262f8da368f65d37f811a2264647e0dae6.tar.gz
sway-c35a34262f8da368f65d37f811a2264647e0dae6.tar.zst
sway-c35a34262f8da368f65d37f811a2264647e0dae6.zip
Enable wlr-gamma-control-unstable-v1
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 89dfbf8c..91ae7c97 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -9,6 +9,7 @@
9#include <wlr/types/wlr_compositor.h> 9#include <wlr/types/wlr_compositor.h>
10#include <wlr/types/wlr_export_dmabuf_v1.h> 10#include <wlr/types/wlr_export_dmabuf_v1.h>
11#include <wlr/types/wlr_gamma_control.h> 11#include <wlr/types/wlr_gamma_control.h>
12#include <wlr/types/wlr_gamma_control_v1.h>
12#include <wlr/types/wlr_idle.h> 13#include <wlr/types/wlr_idle.h>
13#include <wlr/types/wlr_layer_shell.h> 14#include <wlr/types/wlr_layer_shell.h>
14#include <wlr/types/wlr_linux_dmabuf_v1.h> 15#include <wlr/types/wlr_linux_dmabuf_v1.h>
@@ -53,6 +54,7 @@ bool server_init(struct sway_server *server) {
53 wlr_data_device_manager_create(server->wl_display); 54 wlr_data_device_manager_create(server->wl_display);
54 55
55 wlr_gamma_control_manager_create(server->wl_display); 56 wlr_gamma_control_manager_create(server->wl_display);
57 wlr_gamma_control_manager_v1_create(server->wl_display);
56 wlr_primary_selection_device_manager_create(server->wl_display); 58 wlr_primary_selection_device_manager_create(server->wl_display);
57 59
58 server->new_output.notify = handle_new_output; 60 server->new_output.notify = handle_new_output;