forked from AuroraMiddleware/gtk
1f58e0ed6b
Previously, the GDK backend for Wayland would deduce the logical size of the monitors from the wl_output size and scale. With the addition of fractional scaling which advertises a larger scale value and then scale down the client surface, the computed logical size of the monitors in GDK would be wrong and confuse applications which insist on using the monitor size and position (like Firefox). The xdg-output protocol aims at describing outputs in a way which is more in line with the concept of an output on desktop oriented systems by presenting the outputs using their logical size and position appropriately transformed. Add support for the optional xdg-output protocol so that the size and position of the monitors as reported by GDK is correct even when using fractional scaling. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1828 |
||
---|---|---|
.. | ||
protocol | ||
gdkapplaunchcontext-wayland.c | ||
gdkcairocontext-wayland.c | ||
gdkcairocontext-wayland.h | ||
gdkclipboard-wayland.c | ||
gdkclipboard-wayland.h | ||
gdkcursor-wayland.c | ||
gdkdevice-wayland.c | ||
gdkdisplay-wayland.c | ||
gdkdisplay-wayland.h | ||
gdkdrag-wayland.c | ||
gdkdrop-wayland.c | ||
gdkeventsource.c | ||
gdkglcontext-wayland.c | ||
gdkglcontext-wayland.h | ||
gdkkeys-wayland.c | ||
gdkmonitor-wayland.c | ||
gdkmonitor-wayland.h | ||
gdkprimary-wayland.c | ||
gdkprimary-wayland.h | ||
gdkprivate-wayland.h | ||
gdkseat-wayland.h | ||
gdkselection-wayland.c | ||
gdksurface-wayland.c | ||
gdkvulkancontext-wayland.c | ||
gdkvulkancontext-wayland.h | ||
gdkwayland.h | ||
gdkwaylanddevice.h | ||
gdkwaylanddisplay.h | ||
gdkwaylandglcontext.h | ||
gdkwaylandmonitor.h | ||
gdkwaylandsurface.h | ||
meson.build | ||
wm-button-layout-translation.c | ||
wm-button-layout-translation.h |