summaryrefslogtreecommitdiff
path: root/redo/sizing_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/sizing_windows.go')
-rw-r--r--redo/sizing_windows.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/redo/sizing_windows.go b/redo/sizing_windows.go
index d0c3937..442aad0 100644
--- a/redo/sizing_windows.go
+++ b/redo/sizing_windows.go
@@ -21,6 +21,7 @@ const (
paddingDialogUnits = 4
)
+// only windows are containers, so only windows get beginResize()
func (w *window) beginResize() (d *sizing) {
d = new(sizing)
@@ -43,11 +44,11 @@ func (w *window) beginResize() (d *sizing) {
return d
}
-func (w *window) endResize(d *sizing) {
+func (c *container) endResize(d *sizing) {
// redraw
}
-func (w *window) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) {
+func (c *container) translateAllocationCoords(allocations []*allocation, winwidth, winheight int) {
// no translation needed on windows
}