diff options
author | okan | 2018-01-23 16:00:21 +0000 |
---|---|---|
committer | okan | 2018-01-23 16:00:21 +0000 |
commit | d2cd1c86d06be540f06d8e427d9dab5a39ae86db (patch) | |
tree | 8e7242f1e09ed125591905372b393982752a115b /calmwm.h | |
parent | ca30474d6158fc5c81d963ca9d21ce4d9d964c28 (diff) | |
download | cwm-d2cd1c86d06be540f06d8e427d9dab5a39ae86db.tar.gz |
Generate name_to_func[] in a clean and readable fashion.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.351 2017/12/29 20:03:46 okan Exp $ + * $OpenBSD: calmwm.h,v 1.352 2018/01/23 16:00:21 okan Exp $ */ #ifndef _CALMWM_H_ @@ -55,7 +55,15 @@ #define CWM_LEFT 0x0004 #define CWM_RIGHT 0x0008 #define CWM_BIGAMOUNT 0x0010 -#define DIRECTIONMASK (CWM_UP | CWM_DOWN | CWM_LEFT | CWM_RIGHT) +#define CWM_UP_BIG (CWM_UP | CWM_BIGAMOUNT) +#define CWM_DOWN_BIG (CWM_DOWN | CWM_BIGAMOUNT) +#define CWM_LEFT_BIG (CWM_LEFT | CWM_BIGAMOUNT) +#define CWM_RIGHT_BIG (CWM_RIGHT | CWM_BIGAMOUNT) +#define CWM_UP_RIGHT (CWM_UP | CWM_RIGHT) +#define CWM_UP_LEFT (CWM_UP | CWM_LEFT) +#define CWM_DOWN_RIGHT (CWM_DOWN | CWM_RIGHT) +#define CWM_DOWN_LEFT (CWM_DOWN | CWM_LEFT) +#define DIRECTIONMASK (CWM_UP | CWM_DOWN | CWM_LEFT | CWM_RIGHT) #define CWM_CYCLE_FORWARD 0x0001 #define CWM_CYCLE_REVERSE 0x0002 |