mirror of
https://github.com/swaywm/sway.git
synced 2026-03-01 01:40:32 -05:00
sway/server: advertise wlr_color_representation_manager_v1
This commit is contained in:
parent
055be4ec35
commit
d735bb99a9
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
#include <wlr/render/wlr_renderer.h>
|
#include <wlr/render/wlr_renderer.h>
|
||||||
#include <wlr/types/wlr_alpha_modifier_v1.h>
|
#include <wlr/types/wlr_alpha_modifier_v1.h>
|
||||||
#include <wlr/types/wlr_color_management_v1.h>
|
#include <wlr/types/wlr_color_management_v1.h>
|
||||||
|
#include <wlr/types/wlr_color_representation_v1.h>
|
||||||
#include <wlr/types/wlr_compositor.h>
|
#include <wlr/types/wlr_compositor.h>
|
||||||
#include <wlr/types/wlr_content_type_v1.h>
|
#include <wlr/types/wlr_content_type_v1.h>
|
||||||
#include <wlr/types/wlr_cursor_shape_v1.h>
|
#include <wlr/types/wlr_cursor_shape_v1.h>
|
||||||
|
|
@ -485,6 +486,9 @@ bool server_init(struct sway_server *server) {
|
||||||
wlr_scene_set_color_manager_v1(root->root_scene, cm);
|
wlr_scene_set_color_manager_v1(root->root_scene, cm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wlr_color_representation_manager_v1_create_with_renderer(
|
||||||
|
server->wl_display, 1, server->renderer);
|
||||||
|
|
||||||
wl_list_init(&server->pending_launcher_ctxs);
|
wl_list_init(&server->pending_launcher_ctxs);
|
||||||
|
|
||||||
// Avoid using "wayland-0" as display socket
|
// Avoid using "wayland-0" as display socket
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue