Community
Participate
Working Groups
Build Identifier: Lion has support for full-screen applications. It would be great if this could be added to SWT so that Eclipse could support it. Reproducible: Always Steps to Reproduce: Run app on Lion Note that the full-screen expand widget is not in place
I believe this is the important document: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html This constant indicates that a window is in fullscreen mode. enum { NSFullScreenWindowMask = 1 << 14 }; There's also some options on the NSApplication which can inform whether it's in fullscreen mode (or not). There's a blog here: http://oleb.net/blog/2011/07/whats-new-for-developers-in-lion-part-1/
This command will give full screen access on the primary monitor: [window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; It can run on non-primary monitors with: [window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
Note that all the pieces are already in the SWT implementation to support this: Shell shell = window.getShell(); NSWindow nswindow = shell.view.window(); nswindow.setCollectionBehavior(1<<7);
*** This bug has been marked as a duplicate of bug 349148 ***
Created attachment 200299 [details] test patch I still don't have Lion :( could you please try this patch and let me know if it works for you ? Thank.