[wip] chase wlroots: Add wl_fixes interface (MR + subproject commit missing)

Ref: 812675ba34ce612e9294e8a9814b1baf4b4775d4
(fixes: add implementation)
This commit is contained in:
Christopher Snowhill 2025-08-13 19:57:58 -07:00 committed by Consolatis
parent 13e838cd34
commit b7f46ac9ba

View file

@ -17,6 +17,7 @@
#include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h> #include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h>
#include <wlr/types/wlr_ext_image_capture_source_v1.h> #include <wlr/types/wlr_ext_image_capture_source_v1.h>
#include <wlr/types/wlr_ext_image_copy_capture_v1.h> #include <wlr/types/wlr_ext_image_copy_capture_v1.h>
#include <wlr/types/wlr_fixes.h>
#include <wlr/types/wlr_foreign_toplevel_management_v1.h> #include <wlr/types/wlr_foreign_toplevel_management_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h> #include <wlr/types/wlr_fractional_scale_v1.h>
#include <wlr/types/wlr_input_method_v2.h> #include <wlr/types/wlr_input_method_v2.h>
@ -255,6 +256,7 @@ allow_for_sandbox(const struct wlr_security_context_v1_state *security_state,
"wl_data_device_manager", /* would be great if we could drop this one */ "wl_data_device_manager", /* would be great if we could drop this one */
"wl_seat", "wl_seat",
"xdg_wm_base", "xdg_wm_base",
"wl_fixes",
/* enhanced */ /* enhanced */
"wl_output", "wl_output",
"wl_drm", "wl_drm",
@ -434,6 +436,8 @@ server_init(struct server *server)
server->wl_event_loop = wl_display_get_event_loop(server->wl_display); server->wl_event_loop = wl_display_get_event_loop(server->wl_display);
wlr_fixes_create(server->wl_display, 1);
/* Catch signals */ /* Catch signals */
server->sighup_source = wl_event_loop_add_signal( server->sighup_source = wl_event_loop_add_signal(
server->wl_event_loop, SIGHUP, handle_sighup, server); server->wl_event_loop, SIGHUP, handle_sighup, server);