diff options
author | okan <okan> | 2014-01-03 15:29:06 +0000 |
---|---|---|
committer | okan <okan> | 2014-01-03 15:29:06 +0000 |
commit | 86b149ad2537061b8af6a51376835c1e1f1cc4ec (patch) | |
tree | f63f024d95c1d48d2452ed8aab4fcb0d0bc2d89f /calmwm.h | |
parent | f4c289b9e63c3daec2b6523871e07328dc778bb6 (diff) | |
parent | 43ccf4eae0f0f5c50495834e29f93671468a7cfe (diff) | |
download | cwm-86b149ad2537061b8af6a51376835c1e1f1cc4ec.tar.gz cwm-86b149ad2537061b8af6a51376835c1e1f1cc4ec.tar.xz cwm-86b149ad2537061b8af6a51376835c1e1f1cc4ec.zip |
cvsimport
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/calmwm.h b/calmwm.h index dbeddc7..831fbe2 100644 --- a/calmwm.h +++ b/calmwm.h @@ -149,7 +149,7 @@ struct client_ctx { struct screen_ctx *sc; Window win; Colormap colormap; - u_int bwidth; /* border width */ + unsigned int bwidth; /* border width */ struct geom geom, savegeom, fullgeom; struct { long flags; /* defined hints */ @@ -257,7 +257,7 @@ struct keybinding { TAILQ_ENTRY(keybinding) entry; void (*callback)(struct client_ctx *, union arg *); union arg argument; - u_int modmask; + unsigned int modmask; KeySym keysym; #define KBFLAG_NEEDCLIENT 0x0001 int flags; @@ -269,8 +269,8 @@ struct mousebinding { TAILQ_ENTRY(mousebinding) entry; void (*callback)(struct client_ctx *, union arg *); union arg argument; - u_int modmask; - u_int button; + unsigned int modmask; + unsigned int button; #define MOUSEBIND_CTX_ROOT 0x0001 #define MOUSEBIND_CTX_WIN 0x0002 int flags; @@ -323,9 +323,9 @@ struct conf { /* MWM hints */ struct mwm_hints { - u_long flags; - u_long functions; - u_long decorations; + unsigned long flags; + unsigned long functions; + unsigned long decorations; }; #define MWM_NUMHINTS 3 #define PROP_MWM_HINTS_ELEMENTS 3 @@ -540,15 +540,15 @@ void conf_screen(struct screen_ctx *); void xev_loop(void); -void xu_btn_grab(Window, int, u_int); +void xu_btn_grab(Window, int, unsigned int); void xu_btn_ungrab(Window); int xu_getprop(Window, Atom, Atom, long, unsigned char **); int xu_getstrprop(Window, Atom, char **); -void xu_key_grab(Window, u_int, KeySym); +void xu_key_grab(Window, unsigned int, KeySym); void xu_key_ungrab(Window); void xu_ptr_getpos(Window, int *, int *); -int xu_ptr_grab(Window, u_int, Cursor); -int xu_ptr_regrab(u_int, Cursor); +int xu_ptr_grab(Window, unsigned int, Cursor); +int xu_ptr_regrab(unsigned int, Cursor); void xu_ptr_setpos(Window, int, int); void xu_ptr_ungrab(void); void xu_xft_draw(struct screen_ctx *, const char *, |