diff options
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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) { |
