winex11.drv: Use a separate virtual desktop display device handler.
commit914b5519b1cd96f9ae19f1eec226e94af96354b9
authorZhiyi Zhang <zzhang@codeweavers.com>
Tue, 5 Nov 2019 13:04:27 +0000 (5 21:04 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 Nov 2019 16:30:50 +0000 (5 17:30 +0100)
tree3f9219bcdedf6bf6577548f98bfddc33311b1dbe
parent99d047724e768822d6508573cd82a5c75b30bdcb
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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winex11.drv/desktop.c
dlls/winex11.drv/display.c
dlls/winex11.drv/x11drv.h
dlls/winex11.drv/xinerama.c