summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.go b/window.go
index 558e782..ebf4a85 100644
--- a/window.go
+++ b/window.go
@@ -17,8 +17,8 @@ func (n *Node) NewWindow(title string) *Node {
var a toolkit.Action
a.ActionType = toolkit.Add
- a.Width = Config.Width
- a.Height = Config.Height
+ a.X = Config.Width
+ a.Y = Config.Height
a.Name = title
a.Text = title
newaction(&a, newNode, n)