Alexandre Julliard pushed to branch master at wine / wine
Commits: 7ddb5649 by Rémi Bernon at 2024-09-02T22:52:55+02:00 winewayland: Remove unnecessary logical to physical DPI mapping.
This is now properly handled in win32u and all the drivers are now working with physical DPI coordinates directly.
Note that there's still an additional mapping from Wine (window) to Wayland (surface) coordinates, that is handled by coords_from_window and coords_to_window.
- - - - - e26669a0 by Rémi Bernon at 2024-09-02T22:52:55+02:00 winex11: Map message pos to physical DPI in move_resize_window.
- - - - - 09b92c3d by Rémi Bernon at 2024-09-02T22:52:55+02:00 win32u: Map rect to window DPI in expose_window_surface.
- - - - - b7193f99 by Rémi Bernon at 2024-09-02T22:52:55+02:00 win32u: Pass window_from_point dpi to list_children_from_point.
It may be per-monitor, which window_from_point checks but not list_children_from_point.
- - - - - 1c9c6f0b by Rémi Bernon at 2024-09-02T22:52:55+02:00 server: Pass window's per-monitor DPI in set_window_pos.
- - - - - d17103e9 by Rémi Bernon at 2024-09-02T22:52:55+02:00 user32: Move dpiaware_init to SYSPARAMS_Init.
Making sure it only executes after system_dpi is initialized. Otherwise SetProcessDpiAwarenessContext calls will fail to translate system DPI aware context aliases to the NTUSER_DPI_CONTEXT values with explicit system DPI values.
- - - - - cd62efd8 by Rémi Bernon at 2024-09-02T22:52:55+02:00 explorer: Make the desktop thread per-monitor DPI aware.
As it deals with display settings and virtual desktop updates, we need it to work with physical coordinates.
- - - - - 5bebb241 by Rémi Bernon at 2024-09-02T22:52:55+02:00 win32u: Stop setting DPI_PER_MONITOR_AWARE by default.
- - - - -
15 changed files:
- dlls/user32/sysparams.c - dlls/user32/tests/sysparams.c - dlls/user32/user_main.c - dlls/win32u/sysparams.c - dlls/win32u/tests/win32u.c - dlls/win32u/window.c - dlls/winewayland.drv/wayland_pointer.c - dlls/winewayland.drv/window.c - dlls/winex11.drv/mouse.c - include/wine/server_protocol.h - programs/explorer/explorer.manifest - server/protocol.def - server/request.h - server/trace.c - server/window.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/828fab6cd583352e9ec143ce07a1c9...