https://github.com/swaywm/sway
Revision bfe8649e90eb88a52a31cf83bc2750895fddf3f9 authored by Drew DeVault on 17 October 2017, 01:07:55 UTC, committed by Drew DeVault on 17 October 2017, 01:08:16 UTC
1 parent bfb5e0c
Raw File
Tip revision: bfe8649e90eb88a52a31cf83bc2750895fddf3f9 authored by Drew DeVault on 17 October 2017, 01:07:55 UTC
Fix crash closing fullscreen windows in container
Tip revision: bfe8649
ipc.h
#ifndef _SWAYBAR_IPC_H
#define _SWAYBAR_IPC_H

#include "bar.h"

/**
 * Initialize ipc connection to sway and get sway state, outputs, bar_config.
 */
void ipc_bar_init(struct bar *bar, const char *bar_id);

/**
 * Handle ipc event from sway.
 */
bool handle_ipc_event(struct bar *bar);


/**
 * Send workspace command to sway
 */
void ipc_send_workspace_command(const char *workspace_name);

#endif /* _SWAYBAR_IPC_H */

back to top