fix row consistent movement and focus

This commit is contained in:
2025-11-16 00:29:13 +01:00
committed by rasmusq
parent 8994b4cee2
commit 50b24942e7
3 changed files with 16 additions and 4 deletions

View File

@@ -29,6 +29,16 @@ bool is_scroller_layout(Monitor *m) {
return false;
}
bool is_row_layout(Monitor *m) {
// Layout has independent horizontal rows where navigation should be constrained
// LEFT/RIGHT: stay within same row (same Y)
// UP/DOWN: move between rows
if (m->pertag->ltidxs[m->pertag->curtag]->id == DUAL_SCROLLER)
return true;
return false;
}
unsigned int get_tag_status(unsigned int tag, Monitor *m) {
Client *c = NULL;
unsigned int status = 0;