mirror of
https://github.com/labwc/labwc.git
synced 2026-04-10 08:21:07 -04:00
chase wlroots: Add wl_fixes interface
This commit is contained in:
parent
a1e05456ca
commit
faf46711cb
1 changed files with 4 additions and 0 deletions
|
|
@ -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_gamma_control_v1.h>
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||||
|
|
@ -249,6 +250,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",
|
||||||
|
|
@ -428,6 +430,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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue