Update webview_window.go (#2912)

This commit is contained in:
ALMAS
2023-09-16 07:20:49 +10:00
committed by GitHub
parent 86354e9fc0
commit 37b99b9cb8
+1 -1
View File
@@ -488,7 +488,7 @@ func (w *WebviewWindow) IsFocused() bool {
if w.impl == nil {
return false
}
return invokeSyncWithResult(w.impl.isFullscreen)
return invokeSyncWithResult(w.impl.isFocused)
}
// IsFullscreen returns true if the window is fullscreen