[RFC PATCH 0/5] Improved multi-monitor support for full-screen

Kai Krakow kai at kaishome.de
Mon Aug 20 12:57:46 CDT 2018


Hello!

The following patch series from staging is required here for multiple
games to display on the correct screen when switching to full-screen
mode.

I thus want to suggest these patches for inclusion into wine. I've
tested the patches since multiple versions of wine now.

It seems there's one (minor) annoyance with these: I have two very
different displays attached: One 28" 4k monitor, and one 42" FHD TV.

With this setup, some applications display very tiny fonts only on the
TV display. It seems that DPI are incorrectly inferred from the display
description. It shouldn't be a problem with very similar displays
attached to the graphic card. Some Linux applications suffer the same
problem, so it's probably nothing that Wine could easily fix.
Especially, I had to make my 4k display implicitly the primary display
in the Xorg configuration for applications to pickup the correct DPI for
font size calculation (which is 144 dpi instead of 96 dpi).

Thanks,
Kai


Ken Thomases (4):
  gdi32: Also accept "\\.\DISPLAY<n>" devices names with <n> other than
    1 as display devices.
  winex11: Make GetMonitorInfo() give a different device name
    (\.\DISPLAY<n>) to each monitor
  user32: Implement EnumDisplayDevicesW() based on EnumDisplayMonitors()
    and GetMonitorInfoW().
  winemac: Make GetMonitorInfo() give a different device name
    (\\.\DISPLAY<n>) to each monitor.

Sebastian Lackner (1):
  user32: Return a more reasonable display DeviceID.

 dlls/gdi32/driver.c         |  32 ++++++++++++--
 dlls/user32/misc.c          | 101 ++++++++++++++++++++++++++++++++++++++------
 dlls/user32/tests/monitor.c |  16 +++++--
 dlls/winemac.drv/display.c  |  10 +++--
 dlls/winex11.drv/xinerama.c |  12 +++++-
 5 files changed, 146 insertions(+), 25 deletions(-)

-- 
2.16.4




More information about the wine-devel mailing list