mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-31 21:38:06 -04:00
opt: optimize ipc event send
This commit is contained in:
parent
5af4f917f5
commit
a6fa3d8849
6 changed files with 97 additions and 55 deletions
|
|
@ -239,7 +239,7 @@ void dwl_ipc_output_set_client_tags(struct wl_client *client,
|
|||
if (selmon == monitor)
|
||||
focusclient(focustop(monitor), 1);
|
||||
arrange(selmon, false, false);
|
||||
printstatus();
|
||||
printstatus(IPC_WATCH_ARRANGGE);
|
||||
}
|
||||
|
||||
void dwl_ipc_output_set_layout(struct wl_client *client,
|
||||
|
|
@ -258,7 +258,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, false);
|
||||
printstatus();
|
||||
printstatus(IPC_WATCH_ARRANGGE);
|
||||
}
|
||||
|
||||
void dwl_ipc_output_set_tags(struct wl_client *client,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue