mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-28 07:58:47 -04:00
opt: remove useless code
This commit is contained in:
parent
810933cbf8
commit
598731f573
3 changed files with 6 additions and 28 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue