fix do not scroll to index zero when no window in row is focused

This commit is contained in:
2025-11-16 02:00:42 +01:00
committed by rasmusq
parent f7d4420685
commit dd6223d383

View File

@@ -480,8 +480,7 @@ void dual_scroller(Monitor *m) {
// If no focused client in this row, keep current scroll position
if (!root_client && n_row > 0) {
root_client = row_clients[0];
focus_index = 0;
return;
}
// Check if scrolling is needed