From c2f467640749db9c4ddf436e20d2798bd26855bc Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Tue, 11 Aug 2015 14:11:53 -0400 Subject: [PATCH] app: fix X11 build Change-Id: Ida7cd57eefac66bcff89720ac5c82015d1d37f00 Reviewed-on: https://go-review.googlesource.com/13540 Reviewed-by: Jeffrey Regan Reviewed-by: David Crawshaw --- app/x11.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/x11.go b/app/x11.go index b1a9061..8f77ae2 100644 --- a/app/x11.go +++ b/app/x11.go @@ -78,7 +78,7 @@ func main(f func(App)) { func onResize(w, h int) { // TODO(nigeltao): don't assume 72 DPI. DisplayWidth and DisplayWidthMM // is probably the best place to start looking. - pixelsPerPt := 1 + pixelsPerPt := float32(1) eventsIn <- config.Event{ WidthPx: w, HeightPx: h,