bemenu/lib
Willow Barraco c22cc64bdb Wayland: fix monitor and scaling detection
The whole management of monitor_name with the Wayland backend seems heavily
broken, and doesn't allow to (1) select the target output with -m, and (2) to
correctly detect the used output and use correct attributes.

When used with two monitors with different scale values, depending on
the output order, you get a blurry menu.

To fix this we attach a listener to wayland surfaces to store which outputs
it belongs to. This rewrite almost completly the "recreate_windows"
function.

This also drop completly the xdg-output-unstable-v1 protocol, cause v4
already add the "name" event to fetch the output name.

I did not pushed this to support v6, with the new
"preferred_buffer_scale" event, cause anyway we need to fetch the
output max_height.
2023-11-05 17:29:20 +09:00
..
3rdparty Nuke CMake from existance 2020-02-07 16:03:08 +02:00
renderers Wayland: fix monitor and scaling detection 2023-11-05 17:29:20 +09:00
bemenu.h Password flag parameters with indicator option 2023-10-09 08:41:40 +09:00
filter.c filter: fix exact matching 2023-08-30 00:05:22 +09:00
internal.h Password flag parameters with indicator option 2023-10-09 08:41:40 +09:00
item.c Refactor code to snake_style, turn renderers into plugins, and start 2014-10-22 22:46:51 +03:00
library.c Nuke CMake from existance 2020-02-07 16:03:08 +02:00
list.c Use sizeof(void*) and fix list remove. 2014-10-25 21:53:48 +03:00
menu.c Password flag parameters with indicator option 2023-10-09 08:41:40 +09:00
util.c get rid of all the internal symbols 2022-02-19 08:00:26 +09:00
vim.c Add option to exit bemenu using esc in vim binds normal mode 2023-06-30 09:31:45 +09:00
vim.h Add basic vim bindings 2022-10-21 03:17:29 +09:00