Commit graph

9 commits

Author SHA1 Message Date
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
bb96b6c36f Update readme and --help that resizing was added 2023-04-27 00:59:51 +02:00
Gergő Sályi
a2471bda0b Implement image resizing 2023-04-26 23:22:46 +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
Gergő Sályi
7103939a6e Add documentation about logging errors to stderr 2023-04-08 06:54:14 +02:00
Gergő Sályi
fbfd7e722e Update 2023-04-07 21:49:13 +02:00
Gergő Sályi
3eedfa1eb5 Initial commit 2023-04-07 17:25:48 +02:00