applying white border fix from dr_evil

This commit is contained in:
Brian Matzon 2012-03-19 22:12:38 +00:00
parent e0c6b24536
commit 9ed2bd06aa
1 changed files with 1 additions and 1 deletions

View File

@ -1058,7 +1058,7 @@ final class WindowsDisplay implements DisplayImplementation {
long styleex = getWindowLongPtr(hwnd, GWL_EXSTYLE);
// update frame style
if(resizable) {
if(resizable && !Display.isFullscreen()) {
setWindowLongPtr(hwnd, GWL_STYLE, style |= (WS_THICKFRAME | WS_MAXIMIZEBOX));
} else {
setWindowLongPtr(hwnd, GWL_STYLE, style &= ~(WS_THICKFRAME | WS_MAXIMIZEBOX));