smart autofocus

This commit is contained in:
2026-04-27 19:19:45 +07:00
parent 68b274628c
commit bcd2422950
4 changed files with 35 additions and 26 deletions
+2 -2
View File
@@ -39,10 +39,10 @@ static bool keyboard_handle_keybind(struct absinthe_server *server, xkb_keysym_t
absinthe_toplevel_set_fullscreen(server->focused_toplevel, !server->focused_toplevel->fullscreen);
break;
case XKB_KEY_j:
focus_next(server);
focus_next(server, false);
break;
case XKB_KEY_k:
focus_prev(server);
focus_prev(server, false);
break;
case XKB_KEY_h:
if (server->focused_output && server->focused_output->main_stack_width > 0.15) {