diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-25 23:21:57 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-25 23:21:57 -0400 |
| commit | 1eeadc000ae796bd022879196c4f2bae3bb189de (patch) | |
| tree | e63f905f533f183935850b04f5ab8356e06e7084 /controlsize.go | |
| parent | 9a3e73b46001219177bb13a381420007217dfecf (diff) | |
Made the new sizing system work on Windows.
Diffstat (limited to 'controlsize.go')
| -rw-r--r-- | controlsize.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controlsize.go b/controlsize.go index ff0973b..d0a5eaf 100644 --- a/controlsize.go +++ b/controlsize.go @@ -19,7 +19,7 @@ type cSysSizeData struct { } // for verification; see sysdata.go -type sysDataSizeFuncs interface { +type sysDataSizingFunctions interface { beginResize() *sysSizeData endResize(*sysSizeData) translateAllocationCoords([]*allocation, int, int) @@ -32,7 +32,7 @@ func (s *sysData) resizeWindow(width, height int) { d := s.beginResize() allocations := s.allocate(0, 0, width, height, d) s.translateAllocationCoords(allocations, width, height) - for _, c := range s.allocations { + for _, c := range allocations { c.this.commitResize(c, d) } s.endResize(d) |
