The default behavior of the Minecraft fullscreen. Further its an OS X 10.7+ API and therefore not available on OS X 10.5 and 10.6.Īs for implementing such functionality it could be done in a number ways, some options include:Īdd a LWJGL switch (VM parameter) which toggles OS X's Fullscreen API so that any call to tFullscreen(boolean) (on OS X 10.7+) will simply just toggle the Fullscreen API and the native fullscreen mode will be ignored and not used in this mode.Īdd a new API to LWJGL's Display just for this functionality, however this is a platform specific API while Display is suppose to be a generic cross platform API.ĭon't think the above options are particularly nice or clean way to implement this functionality. This is especially useful when using multiple monitors to switch to another program on a different monitor. For this reason the game window needs to be resizable to use this API hence the game will also need to handle resizing. There are a few things to keep in mind, OS X's Fullscreen API (despite its name) is not really proper native fullscreen, it just resizes the window to the screen resolution, hides the borders and puts it in its own workspace. However it is possible since the functionality is already implemented internally and its just a matter of exposing it in a nice way through the LWJGL API. Under the System heading, uncheck ‘Use hardware acceleration when available’ option. The reason toggling the OS X Fullscreen API through the LWJGL API wasn't implemented was because at the time I couldn't come up with a clean way to do it. Scroll to the bottom of the screen and click on Advanced.