commit 04fdf1a29545641a23e5c586d6b3dfa3a0103d97
parent fbe89a929f8465a288630ebe27bd656cd9ce8282
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date: Wed, 8 Feb 2023 22:25:41 -0600
add support for wp-fractional-scale-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3511
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c
@@ -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 */