diff --git a/app/os_windows.go b/app/os_windows.go index b6a08d3c..49a19585 100644 --- a/app/os_windows.go +++ b/app/os_windows.go @@ -721,11 +721,12 @@ func (w *window) Configure(options []Option) { } case Fullscreen: + swpStyle |= windows.SWP_NOMOVE | windows.SWP_NOSIZE mi := windows.GetMonitorInfo(w.hwnd) x, y = mi.Monitor.Left, mi.Monitor.Top width = mi.Monitor.Right - mi.Monitor.Left height = mi.Monitor.Bottom - mi.Monitor.Top - showMode = windows.SW_SHOW + showMode = windows.SW_SHOWMAXIMIZED } windows.SetWindowLong(w.hwnd, windows.GWL_STYLE, style) windows.SetWindowPos(w.hwnd, 0, x, y, width, height, swpStyle)