Commit graph

62 commits

Author SHA1 Message Date
Gergő Sályi
2c9193129a Add rust-version key to Cargo.toml
This will catch cases of a too old Rust compiler
which would result in obscure build errors
2024-10-09 19:07:04 +02:00
Gergő Sályi
3d9f723077 Update PKGBUILD to 0.1.9 release 2024-10-09 16:32:51 +02:00
Gergő Sályi
b965892be0 Prepare release 0.1.9 2024-10-09 16:27:06 +02:00
Gergő Sályi
a34ee177d0 Support output transforms having 90 degree rotations
Swap the physical width and height of an output for our calculations
if the output has a transform that includes a 90 degree rotation

This tries to fix the issue with broken wallpapers on rotated outputs
https://github.com/gergo-salyi/multibg-sway/issues/9
2024-10-09 16:09:33 +02:00
Gergő Sályi
4e640ad6e7 Update dependencies 2024-10-09 15:09:08 +02:00
Gergő Sályi
1ee9ccffbd Fixup crate sha256sum after cargo publish 2024-09-30 21:33:04 +02:00
Gergő Sályi
56397f19e4 Update PKGBUILD to 0.1.8 release 2024-09-30 21:25:12 +02:00
Gergő Sályi
0fb67a35af Prepare release 0.1.8 2024-09-30 21:18:24 +02:00
Gergő Sályi
b203a15222 Anchor the wlr_layer_surface to all 4 edges
Attempt to fix a crash with wayland protocol error reported in
https://github.com/gergo-salyi/multibg-sway/issues/8
2024-09-30 21:09:04 +02:00
Gergő Sályi
ea45c60ab1 Add a logging message to initialization 2024-09-30 20:49:26 +02:00
Gergő Sályi
1f253ac3f9 Formatting only - apply added editorconfig to all files 2024-09-30 20:29:09 +02:00
Gergő Sályi
736bbf2be1 Add .editorconfig based on the Rust language repository 2024-09-30 20:19:42 +02:00
Gergő Sályi
0749c9df34 Add missing check if updated output has a positive resolution 2024-09-30 20:13:20 +02:00
Gergő Sályi
77552b9426 Update dependencies, fix incompatibilities 2024-09-30 19:54:21 +02:00
Gergő Sályi
d7c90011cd Update PKGBUILD to 0.1.7 release 2024-05-11 01:22:47 +02:00
Gergő Sályi
3c2eb7cc6c Prepare release 0.1.7 2024-05-11 01:12:06 +02:00
Gergő Sályi
abb85692e4 Add --pixelformat cli argument
Enables setting --pixelformat=baseline
to force wl_buffers to use the wayland default xrgb8888
2024-05-11 00:55:54 +02:00
Gergő Sályi
1e05e8c5c3 Update dependencies 2024-05-11 00:01:43 +02:00
Gergő Sályi
ec22b1cb65 Also align wl_buffer stride to 4 for any pixel format
bgr888 buffers may have a stride only aligned to 3, this caused issues:
https://github.com/gergo-salyi/multibg-sway/issues/6
2024-05-10 23:45:16 +02:00
Gergő Sályi
3d7392b698 Update PKGBUILD to 0.1.6 release 2024-03-25 15:18:46 +01:00
Gergő Sályi
76e71b63de Prepare release 0.1.6 2024-03-25 15:03:19 +01:00
Gergő Sályi
2711872a53 Add support for outputs with fractional scale factor
Hopefully this will help displaying the wallpapers correctly
on outputs with fractional scale factor:
https://github.com/gergo-salyi/multibg-sway/issues/5
2024-03-25 14:09:44 +01:00
Gergő Sályi
d55a0ae932 Update dependencies 2024-03-25 02:35:26 +01:00
Gergő Sályi
55072e6103 Update PKGBUILD to 0.1.5 release 2024-01-02 21:20:12 +01:00
Gergő Sályi
46be819969 Prepare release 0.1.5 2024-01-02 21:10:15 +01:00
Gergő Sályi
8e20b360ae Consider integer scale factor for LayerSurface and WlSurface
Hopefully this will help displaying the wallpapers correctly
on outputs with higher than 1 integer scale factor:
https://github.com/gergo-salyi/multibg-sway/issues/4
2024-01-02 20:51:14 +01:00
Gergő Sályi
67abbb9a37 Remove inactive and superseded code 2024-01-02 18:58:59 +01:00
Gergő Sályi
3fc86cbf96 Update dependencies, fix incompatibilities 2024-01-02 18:42:50 +01:00
Gergő Sályi
f9941357be Fixup readme 2023-08-31 18:42:50 +02:00
Gergő Sályi
dfc089bd96 Fixup changelog 2023-08-31 18:31:12 +02:00
Gergő Sályi
3da3560997 Update PKGBUILD to 0.1.4 release 2023-08-31 18:18:08 +02:00
Gergő Sályi
b4496265ec Prepare release 0.1.4 2023-08-31 18:10:40 +02:00
Gergő Sályi
a9b4973c4b Add readme note about the expected graphics memory usage 2023-08-31 18:02:34 +02:00
Gergő Sályi
71dc725ec7 Create shm slot pools per output instead of using one in the global state
This allows the release of graphics memory per output when an output is
destroyed, unlike when we had only one shm slot pool that cannot shrink

Hopefully this will help with a claimed leak of graphics memory:
https://github.com/gergo-salyi/multibg-sway/issues/2
2023-08-31 17:35:35 +02:00
Gergő Sályi
54809851d9 Before drawing a background check if the buffer to use is already active 2023-08-31 16:43:37 +02:00
Gergő Sályi
7681beecba Log shm slot pool size on new/destroyed output
This might help to keep better track on our graphics memory use
2023-08-31 16:17:41 +02:00
Gergő Sályi
62d90ae9c2 cargo update 2023-08-31 14:45:02 +02:00
Gergő Sályi
a4c5dfade9 Update PKGBUILD to 0.1.3 release 2023-05-05 08:31:00 +02:00
Gergő Sályi
d7a3107f4b Update dependencies, rm fast_image_resize submod.
Dependency fast_image_resize fixed a conserning bug (UB in unsafe code)
in the 2.7.2 release, which is now available on crates.io - so use that
2023-05-05 08:26:41 +02:00
Gergő Sályi
9456b98150 Update PKGBUILD to 0.1.2 release 2023-04-27 02:38:21 +02:00
Gergő Sályi
9644b4e891 Add changelog 2023-04-27 02:22:56 +02:00
Gergő Sályi
7f10ee2717 cargo update 2023-04-27 01:23:27 +02:00
Gergő Sályi
2262e21001 Update crate version 2023-04-27 01:12:22 +02:00
Gergő Sályi
f523019f7c Exclude fast_image_resize excluded files 2023-04-27 01:09:29 +02:00
Gergő Sályi
a514f2dd94 Add info to about local fast_image_resize patch 2023-04-27 01:04:47 +02:00
Gergő Sályi
bb96b6c36f Update readme and --help that resizing was added 2023-04-27 00:59:51 +02:00
Gergő Sályi
bc1eabfd5c Apply yet unreleased fix for fast_image_resize
Current releases of fast_image_resize are broken on rust nightly
https://github.com/Cykooz/fast_image_resize/issues/15

Issue is already fixed on master branch but the new verison is not released yet
So temporarly use a clone of fast_image_resize current master branch
as a local submodule and add corresponding patch field in our Cargo.toml
2023-04-26 23:58:03 +02:00
Gergő Sályi
a2471bda0b Implement image resizing 2023-04-26 23:22:46 +02:00
Gergő Sályi
9507d54585 Start working on wallpaper image resizing 2023-04-26 21:18:20 +02:00
Gergő Sályi
80f7f88532 Fix panic when the process is suspended
In main event loop mio poll should immediately continue and retry on EINTR
https://github.com/gergo-salyi/multibg-sway/issues/1
2023-04-26 21:18:20 +02:00