winemac.drv: add fullscreen mode support for Mac OS X 10.7+

Kevin Eaves sevae at roadrunner.com
Thu May 9 17:48:42 CDT 2013


Attached patch is a proof-of-concept for the fullscreen APIs provided in OS X 10.7+, which allows applications to enter fullscreen in a separate desktop space.  The fullscreen button appears if a main window is resizable.

Basically this feature is the zoom button on crack.  It doesn't actually go fullscreen 'natively' but simply resizes the window fullscreen, and automatically moves it to its own space.  As far as Wine is concerned the window resized — just like clicking the zoom button and manually assigning the window to its own space.

I doubled the MaxTrackSize in user32/winpos.c, but it only  needs +15 for the height.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cocoa_window.m.diff
Type: application/octet-stream
Size: 3333 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130509/06055fed/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winpos.c.diff
Type: application/octet-stream
Size: 875 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130509/06055fed/attachment-0001.obj>


More information about the wine-devel mailing list