From 955c39a5c5e3193e18c21abe87110651cc2472d2 Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 1 Mar 2011 14:23:09 +0100 Subject: Shorter typedefs --- window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'window.h') diff --git a/window.h b/window.h index 01fa90c..87f3a0f 100644 --- a/window.h +++ b/window.h @@ -23,14 +23,14 @@ #define CLEANMASK(mask) ((mask) & ~LockMask) -typedef enum win_cur_e { +typedef enum { CURSOR_ARROW = 0, CURSOR_NONE, CURSOR_HAND, CURSOR_WATCH } win_cur_t; -typedef struct win_env_s { +typedef struct { Display *dpy; int scr; int scrw, scrh; @@ -39,7 +39,7 @@ typedef struct win_env_s { int depth; } win_env_t; -typedef struct win_s { +typedef struct { Window xwin; win_env_t env; -- cgit v1.2.3