Lagrange [dev]

Widget: Removed keyboard focus kludge

=> Jaakko Keränen

Tue Apr 30 14:17:21 2024 +0300

When opening a query prompt through link number mode and holding

the modifier key, the opened prompt would not have input focus.

There was a special override giving the DocumentWidget keyboard

focus, taking it away from the InputWidget without the latter

being notified.

This kludge was ill-advised as it can break normal focus logic.

It likely became an issue when the behavior of holding the modifier

key was fixed.

 res/about/version.gmi   | 1 +
 src/ui/documentwidget.c | 2 --
 src/ui/widget.c         | 7 -------
 src/ui/widget.h         | 1 -
 4 files changed, 1 insertion(+), 10 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent 28853a68 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/dev/commits/a644299eb27ef496728575f121a7a33a77014907
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
28.185616 milliseconds
Gemini-to-HTML Time
0.445021 milliseconds

This content has been proxied by September (3851b).