Zhiyi Zhang : winex11.drv: Use a separate virtual desktop display device handler.

Alexandre Julliard julliard at winehq.org
Tue Nov 5 16:11:45 CST 2019


Module: wine
Branch: master
Commit: 914b5519b1cd96f9ae19f1eec226e94af96354b9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=914b5519b1cd96f9ae19f1eec226e94af96354b9

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Tue Nov  5 21:04:27 2019 +0800

winex11.drv: Use a separate virtual desktop display device handler.

If we want to query host monitor dimensions, we need to use XRandR
or Xinerama handler. However when in virtual desktop mode, its display
device handler overrides other handlers. So we need to separate them.
Then we can implement features that require host monitor dimensions like
checking whether the virtual desktop window is fullscreen.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/desktop.c  | 104 ++++++++++++++++++++++++++++++++++++++++++--
 dlls/winex11.drv/display.c  |  34 ++++++++-------
 dlls/winex11.drv/x11drv.h   |   2 +
 dlls/winex11.drv/xinerama.c |  31 +++----------
 4 files changed, 128 insertions(+), 43 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=914b5519b1cd96f9ae19f1eec226e94af96354b9



More information about the wine-cvs mailing list