[1/2] wineconsole: Calculate the maximum possible console window size

Hugh McMaster hugh.mcmaster at masterindexing.com
Wed Dec 4 19:42:57 CST 2013


On Tuesday, 3 December 2013 8:35 AM, Vincent Povirk wrote:
>+    c.X = (workarea.right / cell_width) - 4;
>+    c.Y = (workarea.bottom / cell_height) - 3;
>I think you probably want the size of the workarea (right-left, bottom-top), not the position of the workarea's lower-right corner.

Yes, you're quite right. Doing so allows for the taskbar to be positioned in different orientations.

I'll submit an updated patch.

Thanks,

Hugh


More information about the wine-devel mailing list