summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 19:57:15 -0700
committerJeff Carr <[email protected]>2019-05-29 19:57:15 -0700
commita6368b7b7111758492d06f2ab9ee513dddd7197e (patch)
treea166e525dbdf9b3c44c3f78be0b106d866d4b0ff /area.go
parent77035ad6bdf08097bafd4f4d4668fda4a2db9bac (diff)
large change to track the window everywhere
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
-rw-r--r--area.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/area.go b/area.go
index bbc85e5..7ea70e3 100644
--- a/area.go
+++ b/area.go
@@ -23,7 +23,8 @@ func findFB(button *ButtonMap) *ButtonMap {
func makeSplashArea(ah *AreaHandler) {
// make this button just to get the default font (but don't display the button)
// There should be another way to do this (?)
- newB := CreateFontButton("AREA")
+ wm := ah.WM
+ newB := CreateFontButton(wm, "AREA")
// ah.Attrstr = makeAttributedString()
ah.Area = ui.NewArea(ah)