mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-16 05:34:14 -04:00
opt: optimize code struct
This commit is contained in:
parent
ffbf001a5f
commit
b1e5da91f5
6 changed files with 59 additions and 70 deletions
|
|
@ -238,7 +238,7 @@ void dwl_ipc_output_set_client_tags(struct wl_client *client,
|
|||
selected_client->tags = newtags;
|
||||
if (selmon == monitor)
|
||||
focusclient(focustop(monitor), 1);
|
||||
arrange(selmon, false);
|
||||
arrange(selmon, false, false);
|
||||
printstatus();
|
||||
}
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ void dwl_ipc_output_set_layout(struct wl_client *client,
|
|||
|
||||
monitor->pertag->ltidxs[monitor->pertag->curtag] = &layouts[index];
|
||||
clear_fullscreen_and_maximized_state(monitor);
|
||||
arrange(monitor, false);
|
||||
arrange(monitor, false, false);
|
||||
printstatus();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue