diff --git a/v2/internal/frontend/desktop/windows/window.go b/v2/internal/frontend/desktop/windows/window.go index bf672c385..8087e37fa 100644 --- a/v2/internal/frontend/desktop/windows/window.go +++ b/v2/internal/frontend/desktop/windows/window.go @@ -26,13 +26,13 @@ func NewWindow(parent winc.Controller, options *options.App) *Window { var exStyle int if options.Windows != nil { exStyle = w32.WS_EX_CONTROLPARENT | w32.WS_EX_APPWINDOW - if options.AlwaysOnTop { - exStyle |= w32.WS_EX_TOPMOST - } if options.Windows.WindowIsTranslucent { exStyle |= w32.WS_EX_NOREDIRECTIONBITMAP } } + if options.AlwaysOnTop { + exStyle |= w32.WS_EX_TOPMOST + } var dwStyle = w32.WS_OVERLAPPEDWINDOW if options.Frameless {