diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-02-19 19:31:57 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-04-29 17:18:13 +0200 |
commit | ade567683ab84b814af07d1d5e2d19e69424a5da (patch) | |
tree | 1c5f846a095a2dc2157f2acbb1225a5861cca806 /meson.build | |
parent | cde38d5e876e2f6192e83073eedcca4348141a09 (diff) | |
download | swaybg-ade567683ab84b814af07d1d5e2d19e69424a5da.tar.gz swaybg-ade567683ab84b814af07d1d5e2d19e69424a5da.tar.bz2 |
Estimate output size with wp-fractional-scale-v1
And if available, use wp-viewporter to submit buffers whose size
exactly matches the "physical" pixel dimensions of the output.
Diffstat (limited to '')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8b005da..87a513c 100644 --- a/meson.build +++ b/meson.build @@ -30,7 +30,7 @@ endif rt = cc.find_library('rt') wayland_client = dependency('wayland-client') -wayland_protos = dependency('wayland-protocols', version: '>=1.26') +wayland_protos = dependency('wayland-protocols', version: '>=1.31') wayland_scanner = dependency('wayland-scanner', version: '>=1.14.91', native: true) cairo = dependency('cairo') gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf')) @@ -74,6 +74,7 @@ client_protocols = [ wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', wl_protocol_dir / 'stable/viewporter/viewporter.xml', wl_protocol_dir / 'staging/single-pixel-buffer/single-pixel-buffer-v1.xml', + wl_protocol_dir / 'staging/fractional-scale/fractional-scale-v1.xml', 'wlr-layer-shell-unstable-v1.xml', ] |