[3/3] kernel32: Set GetLargestConsoleWindowSize based on screen resolution

Hugh McMaster hugh.mcmaster at masterindexing.com
Wed Mar 27 06:50:01 CDT 2013


This patch creates a new file called screensize.c in dlls/kernel32.  It detects the current screen resolution and returns the width and height values to the GetLargestConsoleWindowSize_helper function in dlls/kernel32/console.c.

This patch accompanies patches 1 and 2 of this thread.

Tested on Linux Mint 14 and Mac OS X 10.8 Mountain Lion.


---
 dlls/kernel32/screensize.c |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 dlls/kernel32/screensize.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-Improve-kernel32-screensize.c.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130327/f3f37a3d/attachment-0001.txt>


More information about the wine-patches mailing list