Skip to content

Commit 5e829ca

Browse files
leaanthonywails-fleet-bot
andauthored
fix(server): add missing SetScreen method to BrowserWindow (#5294)
BrowserWindow was missing SetScreen(screen *Screen) Window, which was added to the Window interface in #5067. This caused a compile error when building with -tags server. Fixes #5262 Co-authored-by: wails-fleet-bot <noreply@wails-fleet.local>
1 parent bd6b326 commit 5e829ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/pkg/application/browser_window.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func (b *BrowserWindow) ForceReload() {}
6565
func (b *BrowserWindow) Fullscreen() Window { return b }
6666
func (b *BrowserWindow) GetBorderSizes() *LRTB { return nil }
6767
func (b *BrowserWindow) GetScreen() (*Screen, error) { return nil, nil }
68+
func (b *BrowserWindow) SetScreen(screen *Screen) Window { return b }
6869
func (b *BrowserWindow) GetZoom() float64 { return 1.0 }
6970
func (b *BrowserWindow) handleDragAndDropMessage(filenames []string, dropTarget *DropTargetDetails) {}
7071
func (b *BrowserWindow) InitiateFrontendDropProcessing(filenames []string, x int, y int) {}

0 commit comments

Comments
 (0)