bspwm/common.h
Bastien Dejean 8fd8521322 Rewrite message handling
The new message syntax:
- Provides 10 commands instead of 60.
- Allows multiple actions to be applied in one call.

The client now returns an non zero exit code when a message fails.

The `is_adjacent` function now handles vacant nodes.
2013-07-12 21:52:02 +02:00

8 lines
174 B
C

#ifndef _COMMON_H
#define _COMMON_H
#define DEFAULT_SOCKET_PATH "/tmp/bspwm-socket"
#define SOCKET_ENV_VAR "BSPWM_SOCKET"
#define MESSAGE_FAILURE '\x18'
#endif