looking-glass/client/displayservers/Wayland
Quantum b3ca872cef [client] wayland: improve fractional scale handling
Currently, we scale the desktop up to the next largest integer, and rely on
the wayland compositor to scale it back down to the correct size.
This is obviously undesirable.

In this commit, we attempt to detect the actual fractional scaling by finding
the current active mode in wl_output, and dividing it by the logical screen
size reported by xdg_output, taking into consideration screen rotation.

We then use wp_viewporter to set the exact buffer and viewport sizes if
fractional scaling is needed.
2021-08-01 13:05:41 +10:00
..
clipboard.c [client] wayland/clipboard: prefer text/plain over text/html 2021-06-26 12:49:47 +10:00
CMakeLists.txt [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00
cursor.c [client] wayland: implement support for other cursors 2021-07-31 14:56:04 +10:00
gl.c [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00
idle.c [all] normalize copyright on all source files 2021-06-06 11:53:05 +10:00
input.c [client] wayland: pass mouse wheel motion events to imgui 2021-07-31 14:58:35 +10:00
output.c [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00
poll.c [client] wayland: dispatch events through libdecor when using it 2021-07-22 12:03:55 +10:00
presentation.c [client] imgui: make graph y-axis configurable 2021-07-29 15:54:15 +10:00
registry.c [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00
shell_libdecor.c [client] wayland: invalidate window on configure 2021-07-25 15:36:44 +10:00
shell_xdg.c [client] wayland: invalidate window on configure 2021-07-25 15:36:44 +10:00
state.c [all] normalize copyright on all source files 2021-06-06 11:53:05 +10:00
wayland.c [client] wayland: implement signalNextFrame with frame callbacks 2021-07-31 19:05:21 +10:00
wayland.h [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00
window.c [client] wayland: improve fractional scale handling 2021-08-01 13:05:41 +10:00