summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-08-02 23:59:20 +0100
committerLibravatar GitHub <noreply@github.com>2018-08-02 23:59:20 +0100
commit4eadf9f3ae73637e1479d84331786e3c3676cf65 (patch)
treed340b7776f945462f5ecffc830ada4d5fbe82f51
parentMerge pull request #2411 from emersion/fullscreen-pointer-input (diff)
parentMerge branch 'master' into wlr-gamma-control (diff)
downloadsway-4eadf9f3ae73637e1479d84331786e3c3676cf65.tar.gz
sway-4eadf9f3ae73637e1479d84331786e3c3676cf65.tar.zst
sway-4eadf9f3ae73637e1479d84331786e3c3676cf65.zip
Merge pull request #2325 from emersion/wlr-gamma-control
Enable wlr-gamma-control-unstable-v1
-rw-r--r--sway/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 10ca9614..e8755360 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>
@@ -56,6 +57,7 @@ bool server_init(struct sway_server *server) {
56 wlr_data_device_manager_create(server->wl_display); 57 wlr_data_device_manager_create(server->wl_display);
57 58
58 wlr_gamma_control_manager_create(server->wl_display); 59 wlr_gamma_control_manager_create(server->wl_display);
60 wlr_gamma_control_manager_v1_create(server->wl_display);
59 wlr_primary_selection_device_manager_create(server->wl_display); 61 wlr_primary_selection_device_manager_create(server->wl_display);
60 62
61 server->new_output.notify = handle_new_output; 63 server->new_output.notify = handle_new_output;