add support for wp-fractional-scale-v1

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3511
This commit is contained in:
Leonardo Hernández Hernández 2023-02-08 22:25:41 -06:00
parent fbe89a929f
commit 04fdf1a295
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

@ -21,6 +21,7 @@
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
@ -2137,6 +2138,7 @@ setup(void)
wlr_primary_selection_v1_device_manager_create(dpy);
wlr_viewporter_create(dpy);
wlr_single_pixel_buffer_manager_v1_create(dpy);
wlr_fractional_scale_manager_v1_create(dpy, 1);
wlr_subcompositor_create(dpy);
/* Initializes the interface used to implement urgency hints */