mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03:00
bar-bindsym: address ianyfan's comments
This commit is contained in:
parent
1c969e86f5
commit
d3f0e52784
5 changed files with 28 additions and 18 deletions
|
@ -338,6 +338,8 @@ static void ipc_get_outputs(struct swaybar *bar) {
|
|||
}
|
||||
|
||||
void ipc_execute_binding(struct swaybar *bar, struct swaybar_binding *bind) {
|
||||
wlr_log(WLR_DEBUG, "Executing binding for button %u (release=%d): `%s`",
|
||||
bind->button, bind->release, bind->command);
|
||||
uint32_t len = strlen(bind->command);
|
||||
free(ipc_single_command(bar->ipc_socketfd,
|
||||
IPC_COMMAND, bind->command, &len));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue