opt: remove useless code

This commit is contained in:
DreamMaoMao 2026-01-17 12:34:35 +08:00
parent 810933cbf8
commit 598731f573
3 changed files with 6 additions and 28 deletions

View file

@ -314,9 +314,7 @@ void scroller(Monitor *m) {
// root_client might be in a stack, find the stack head
if (root_client) {
while (root_client->prev_in_stack) {
root_client = root_client->prev_in_stack;
}
root_client = get_scroll_stack_head(root_client);
}
if (!root_client) {