summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
Diffstat (limited to 'area.go')
-rw-r--r--area.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/area.go b/area.go
index 93f319e..b63bfe3 100644
--- a/area.go
+++ b/area.go
@@ -121,8 +121,14 @@ func (a *Area) make(window *sysData) error {
return nil
}
-func (a *Area) setRect(x int, y int, width int, height int, winheight int) error {
- return a.sysData.setRect(x, y, width, height, winheight)
+func (a *Area) setRect(x int, y int, width int, height int) []resizerequest {
+ return []resizerequest{resizerequest{
+ sysData: a.sysData,
+ x: x,
+ y: y,
+ width: width,
+ height: height,
+ }}
}
func (a *Area) preferredSize() (width int, height int) {