aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-28 12:50:14 -0500
committerColin Okay <colin@cicadas.surf>2022-07-28 12:50:14 -0500
commit1f4a2cd3cd588be88310ddf15186e967f0db2781 (patch)
treee0211c6b1f48a99eca7dffd400832b5f95baee20 /examples
parent3a44249f757e40c456426244cbf6475ddbdfc776 (diff)
[examples] canvas has focus on start
Diffstat (limited to 'examples')
-rw-r--r--examples/14-canvas-paint.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/14-canvas-paint.lisp b/examples/14-canvas-paint.lisp
index 737c12d..30db422 100644
--- a/examples/14-canvas-paint.lisp
+++ b/examples/14-canvas-paint.lisp
@@ -142,7 +142,8 @@
:pixel-width (canvas-size app)
:pixel-height (canvas-size app))))
(setf *last-draw-time* 0)
- (ww:add-unit canvas)))
+ (ww:add-unit canvas)
+ (ww:refocus-on canvas)))