feat: optimize focusdir to respect focusstack

This commit is contained in:
DreamMaoMao 2026-01-19 10:09:35 +08:00
parent 57d7801df2
commit 0a03141602
3 changed files with 77 additions and 1 deletions

View file

@ -776,6 +776,8 @@ static Client *find_client_by_direction(Client *tc, const Arg *arg,
static void exit_scroller_stack(Client *c);
static Client *get_scroll_stack_head(Client *c);
static bool client_only_in_one_tag(Client *c);
static Client *get_focused_stack_client(Client *sc);
static bool client_is_in_same_stack(Client *sc, Client *tc, Client *fc);
#include "data/static_keymap.h"
#include "dispatch/bind_declare.h"