[FIXED] White border in fullscreen

Started by Simon Felix, March 18, 2012, 23:02:10

Previous topic - Next topic

Simon Felix

Hi everyone

When using a resizable window in fullscreen the window border is visible on Windows. This can be fixed by changing line 1061 in WindowsDisplay.java from if(resizable) { to if(resizable && !Display.isFullscreen()) {

A patch is attached too. I checked whether this works on Windows 7 and Windows 8, both x64. The correct window styles are applied on creation and when switching from/to fullscreen.

Cheers,
Simon
Download Cultris II, the fastest Tetris clone from http://gewaltig.net/

Matzon