mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
clean up all the extraneous logging
This commit is contained in:
parent
be70f60e36
commit
bc76fdbd9d
|
@ -477,7 +477,6 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
||||||
|
|
||||||
case IPC_ARRANGE_LAYOUT:
|
case IPC_ARRANGE_LAYOUT:
|
||||||
{
|
{
|
||||||
sway_log(L_DEBUG, "received arrange command");
|
|
||||||
arrange_windows(&root_container, -1, -1);
|
arrange_windows(&root_container, -1, -1);
|
||||||
ipc_send_reply(client, "{\"success\": true}", 17);
|
ipc_send_reply(client, "{\"success\": true}", 17);
|
||||||
goto exit_cleanup;
|
goto exit_cleanup;
|
||||||
|
|
|
@ -202,7 +202,6 @@ void bar_run(struct bar *bar) {
|
||||||
render(output, bar->config, bar->status);
|
render(output, bar->config, bar->status);
|
||||||
window_render(output->window);
|
window_render(output->window);
|
||||||
wl_display_flush(output->registry->display);
|
wl_display_flush(output->registry->display);
|
||||||
sway_log(L_DEBUG, "sending arrange command");
|
|
||||||
ipc_send_arrange_command();
|
ipc_send_arrange_command();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,14 +8,9 @@
|
||||||
#include "bar/ipc.h"
|
#include "bar/ipc.h"
|
||||||
|
|
||||||
void ipc_send_arrange_command() {
|
void ipc_send_arrange_command() {
|
||||||
sway_log(L_DEBUG, "sending arrange command");
|
|
||||||
sway_log(L_DEBUG, "socketfd is -> %d", swaybar.ipc_socketfd);
|
|
||||||
sway_log(L_DEBUG, "command is -> %d", IPC_ARRANGE_LAYOUT);
|
|
||||||
|
|
||||||
char *cmd = strdup("");
|
char *cmd = strdup("");
|
||||||
uint32_t len = strlen(cmd);
|
uint32_t len = strlen(cmd);
|
||||||
char *r = ipc_single_command(swaybar.ipc_socketfd, IPC_ARRANGE_LAYOUT, cmd, &len);
|
ipc_single_command(swaybar.ipc_socketfd, IPC_ARRANGE_LAYOUT, cmd, &len);
|
||||||
sway_log(L_DEBUG, "arrange command response is -> %s", r);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ipc_send_workspace_command(const char *workspace_name) {
|
void ipc_send_workspace_command(const char *workspace_name) {
|
||||||
|
|
Loading…
Reference in a new issue