From 0c6864c7ed2e5520f1568c487588cbda30d8ce40 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 4 Feb 2022 07:45:44 +1100 Subject: [PATCH] [windows] Fix pos/getpos calls --- v2/internal/frontend/desktop/windows/frontend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/internal/frontend/desktop/windows/frontend.go b/v2/internal/frontend/desktop/windows/frontend.go index f12a78a31..ba3a68b3a 100644 --- a/v2/internal/frontend/desktop/windows/frontend.go +++ b/v2/internal/frontend/desktop/windows/frontend.go @@ -147,11 +147,11 @@ func (f *Frontend) WindowCenter() { func (f *Frontend) WindowSetPosition(x, y int) { runtime.LockOSThread() - f.mainWindow.SetPosition(x, y) + f.mainWindow.SetPos(x, y) } func (f *Frontend) WindowGetPosition() (int, int) { runtime.LockOSThread() - return f.mainWindow.GetPosition() + return f.mainWindow.Pos() } func (f *Frontend) WindowSetSize(width, height int) {