From d7dd084b8d69817034572f4528c09c0aba7336ae Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 11 Nov 2008 11:46:35 -0600 Subject: [PATCH] Usability tweak: focus on listener input area when input presentation is clicked --- basis/ui/tools/listener/listener.factor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basis/ui/tools/listener/listener.factor b/basis/ui/tools/listener/listener.factor index 4c8b88d62c..68bf765295 100644 --- a/basis/ui/tools/listener/listener.factor +++ b/basis/ui/tools/listener/listener.factor @@ -50,7 +50,8 @@ M: listener-gadget tool-scroller listener>> input>> interactor-busy? ; : listener-input ( string -- ) - get-workspace listener>> input>> set-editor-string ; + get-workspace listener>> input>> + [ set-editor-string ] [ request-focus ] bi ; : (call-listener) ( quot listener -- ) input>> interactor-call ;