Add gamma control support

This commit is contained in:
tiosgz 2021-08-01 16:41:03 +00:00
parent 448f78c970
commit a1281cecd4

View file

@ -16,6 +16,7 @@
#include <wlr/backend.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/util/log.h>
@ -58,6 +59,7 @@ server_init(struct kiwmi_server *server, char *config_path)
}
wlr_data_control_manager_v1_create(server->wl_display);
wlr_gamma_control_manager_v1_create(server->wl_display);
wlr_primary_selection_v1_device_manager_create(server->wl_display);
server->socket = wl_display_add_socket_auto(server->wl_display);