forked from AuroraMiddleware/gtk
e40c869d0d
Width and height of a GdkMonitor are derived via wl_output which talks about physical dimensions of a device and compositors usually implement this as the untransformed values (e.g. weston, wlroots). Since the GTK client has no way to figure out if a monitor was rotated, transform the physical dimensions according to the applied wayland transform to have the physical dimensions match the logical ones. Mutter flips the physical dimensions itself but doesn't announce the transform so this shouldn't break anything there. |
||
---|---|---|
.. | ||
cursor | ||
protocol | ||
gdkapplaunchcontext-wayland.c | ||
gdkcairocontext-wayland.c | ||
gdkcairocontext-wayland.h | ||
gdkclipboard-wayland.c | ||
gdkclipboard-wayland.h | ||
gdkcursor-wayland.c | ||
gdkdevice-wayland-private.h | ||
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 | ||
gdksurface-wayland.c | ||
gdksurface-wayland.h | ||
gdkvulkancontext-wayland.c | ||
gdkvulkancontext-wayland.h | ||
gdkwayland.h | ||
gdkwaylanddevice.h | ||
gdkwaylanddisplay.h | ||
gdkwaylandglcontext.h | ||
gdkwaylandmonitor.h | ||
gdkwaylandseat.h | ||
gdkwaylandsurface.h | ||
meson.build | ||
wm-button-layout-translation.c | ||
wm-button-layout-translation.h |