mirror of
https://github.com/emersion/kanshi
synced 2024-09-18 09:51:36 +02:00
afab6397ed
We don't want to fallback to libwayland's defaults, so WAYLAND_DISPLAY needs to be set in env. Since IPC in the future is going to use XDG_RUNTIME_DIR, we also require it. Because these functions will be used in other parts of the code as well, we rework the build system slightly to accommodate it. Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
14 lines
243 B
C
14 lines
243 B
C
#ifndef KANSHI_IPC_H
|
|
#define KANSHI_IPC_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "kanshi.h"
|
|
|
|
int kanshi_init_ipc(struct kanshi_state *state);
|
|
void kanshi_free_ipc(struct kanshi_state *state);
|
|
|
|
int get_ipc_address(char *address, size_t size);
|
|
|
|
#endif
|