bemenu/lib/renderers
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
..
curses Fix exiting when an unexpected Wayland error occurs. 2022-08-03 08:55:34 +09:00
wayland Wayland: fix monitor and scaling detection 2023-11-05 17:29:20 +09:00
x11 Fix exiting when an unexpected Wayland error occurs. 2022-08-03 08:55:34 +09:00
cairo_renderer.h Password flag parameters with indicator option 2023-10-09 08:41:40 +09:00