From: Jarkko Korpi Subject: [PATCH] winex11.drv: Add 1920x1080 mode into virtual desktop Message-Id: Date: Wed, 18 Jan 2017 00:23:12 +0000 The highest resolution wine can set Virtual Desktop is 1600x1200. As screen sizes have grown and are growing to me the value sounds low. Maybe even more screen sizes should be added, but I am not familiar with the resolutions higher than 1920x1080. So I am adding just 1920x1080. Signed-off-by: Jarkko Korpi = From 4725c489fa7aaf80460bc7e049f49ff635efaf61 Mon Sep 17 00:00:00 2001 From: Jarkko Date: Wed, 18 Jan 2017 01:51:05 +0200 Subject: [PATCH] Add 1920x1080 mode into virtual desktop --- dlls/winex11.drv/desktop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index bf2c463..fa57983 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -37,8 +37,8 @@ static unsigned int dd_mode_count; static unsigned int max_width; static unsigned int max_height; -static const unsigned int widths[] = {320, 320, 400, 512, 640, 640, 800, 1024, 1152, 1280, 1280, 1400, 1600}; -static const unsigned int heights[] = {200, 240, 300, 384, 400, 480, 600, 768, 864, 960, 1024, 1050, 1200}; +static const unsigned int widths[] = {320, 320, 400, 512, 640, 640, 800, 1024, 1152, 1280, 1280, 1400, 1600, 1920}; +static const unsigned int heights[] = {200, 240, 300, 384, 400, 480, 600, 768, 864, 960, 1024, 1050, 1200, 1080}; #define NUM_DESKTOP_MODES (sizeof(widths) / sizeof(widths[0])) #define _NET_WM_STATE_REMOVE 0 -- 2.7.4