diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-02 18:48:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 18:48:09 -0400 |
commit | 1654fc80ebdc4c69d86cbb700ceeb49b8f090c62 (patch) | |
tree | 9973c182ff78d3758e9487166ca55dc58d006e86 /rootston | |
parent | 0780d7856a1ec2b6f3bcf2837cd5f697556c531e (diff) | |
parent | c3afe4f42e3ddfbd51500d99416b51aee552b689 (diff) |
Merge pull request #1157 from emersion/wlr-gamma-control
Implement wlr-gamma-control-unstable-v1
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 3 |
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); |