summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-02-08 22:25:41 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-02-08 22:25:41 -0600
commit04fdf1a29545641a23e5c586d6b3dfa3a0103d97 (patch)
treefb2ed7d5e02d46913600883eda0093e63fc8ccea
parentfbe89a929f8465a288630ebe27bd656cd9ce8282 (diff)
add support for wp-fractional-scale-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3511
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 42086af..0eb11c2 100644
--- 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 */