=> b1e5138a5c0a846c63f684ea15eeb8280430b55e
[1mdiff --git a/src/app.c b/src/app.c[m [1mindex dcb35c3d..133d55a6 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -1022,6 +1022,16 @@[m [mvoid processEvents_App(enum iAppEventMode eventMode) {[m /* There may be a key bindings for this. */[m wasUsed = processEvent_Keys(&ev);[m }[m [32m+[m[32m if (!wasUsed) {[m [32m+[m[32m /* Focus cycling. */[m [32m+[m[32m if (ev.type == SDL_KEYDOWN && ev.key.keysym.sym == SDLK_TAB) {[m [32m+[m[32m setFocus_Widget(findFocusable_Widget(focus_Widget(),[m [32m+[m[32m ev.key.keysym.mod & KMOD_SHIFT[m [32m+[m[32m ? backward_WidgetFocusDir[m [32m+[m[32m : forward_WidgetFocusDir));[m [32m+[m[32m wasUsed = iTrue;[m [32m+[m[32m }[m [32m+[m[32m }[m if (ev.type == SDL_USEREVENT && ev.user.code == command_UserEventCode) {[m #if defined (iPlatformAppleDesktop)[m handleCommand_MacOS(command_UserEvent(&ev));[m [1mdiff --git a/src/ui/widget.c b/src/ui/widget.c[m [1mindex cef36a00..67ec87cd 100644[m [1m--- a/src/ui/widget.c[m [1m+++ b/src/ui/widget.c[m [36m@@ -906,16 +906,7 @@[m [mstatic iBool scrollOverflow_Widget_(iWidget *d, int delta) {[m }[m [m iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) {[m [31m- if (ev->type == SDL_KEYDOWN) {[m [31m- if (ev->key.keysym.sym == SDLK_TAB) {[m [31m- setFocus_Widget(findFocusable_Widget(focus_Widget(),[m [31m- ev->key.keysym.mod & KMOD_SHIFT[m [31m- ? backward_WidgetFocusDir[m [31m- : forward_WidgetFocusDir));[m [31m- return iTrue;[m [31m- }[m [31m- }[m [31m- else if (d->flags & commandOnClick_WidgetFlag &&[m [32m+[m[32m if (d->flags & commandOnClick_WidgetFlag &&[m (ev->type == SDL_MOUSEBUTTONDOWN || ev->type == SDL_MOUSEBUTTONUP) &&[m (mouseGrab_Widget() == d || contains_Widget(d, init_I2(ev->button.x, ev->button.y)))) {[m postCommand_Widget(d,[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).