wineconsole: Add check to determine whether cfg->sb_width and cfg->sb_height should be used

Hugh McMaster hugh.mcmaster at masterindexing.com
Sun Jul 14 23:39:00 CDT 2013


This patch adds a check to determine whether cfg->sb_width and cfg->sb_height are larger than the maximum console window size permitted.

If they are, the respective window attribute should be set to values determined by the system (i.e. wineconsole), not those stored in cached data.

The patch allows the screen buffer to increase beyond the maximum possible window size. When this occurs, scrollbars appear in the window.

---
 programs/wineconsole/wineconsole.c |   19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-screenbuffer.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130715/d5e06def/attachment.txt>


More information about the wine-patches mailing list