mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
swaybar: fail if bar id is invalid
This commit is contained in:
parent
02df1e2b1b
commit
312d009f65
5 changed files with 26 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdbool.h>
|
||||
#include "swaybar/bar.h"
|
||||
|
||||
void ipc_initialize(struct swaybar *bar, const char *bar_id);
|
||||
bool ipc_initialize(struct swaybar *bar, const char *bar_id);
|
||||
bool handle_ipc_readable(struct swaybar *bar);
|
||||
void ipc_get_workspaces(struct swaybar *bar);
|
||||
void ipc_send_workspace_command(struct swaybar *bar, const char *ws);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue