applying white border fix from dr_evil
This commit is contained in:
parent
e0c6b24536
commit
9ed2bd06aa
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue