=?UTF-8?Q?Michael=20M=C3=BCller=20?=: winex11: Add 320x240 as supported resolution in desktop mode.

Alexandre Julliard julliard at winehq.org
Thu Jun 16 03:45:41 CDT 2016


Module: wine
Branch: stable
Commit: cf500d36f4fa857fc89e1a19f2e2ecb6d0606ada
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cf500d36f4fa857fc89e1a19f2e2ecb6d0606ada

Author: Michael Müller <michael at fds-team.de>
Date:   Thu Apr  7 07:47:49 2016 +0200

winex11: Add 320x240 as supported resolution in desktop mode.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit b49601b5cef28a14f1bf5f5dbb56ae3bfa79f1d0)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 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 2d8c039..8db1ed0 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, 400, 512, 640, 800, 1024, 1152, 1280, 1280, 1400, 1600};
-static const unsigned int heights[] = {200, 300, 384, 480, 600,  768,  864,  960, 1024, 1050, 1200};
+static const unsigned int widths[]  = {320, 320, 400, 512, 640, 800, 1024, 1152, 1280, 1280, 1400, 1600};
+static const unsigned int heights[] = {200, 240, 300, 384, 480, 600,  768,  864,  960, 1024, 1050, 1200};
 #define NUM_DESKTOP_MODES (sizeof(widths) / sizeof(widths[0]))
 
 #define _NET_WM_STATE_REMOVE 0




More information about the wine-cvs mailing list