diff options
author | okan <okan> | 2014-01-24 22:38:02 +0000 |
---|---|---|
committer | okan <okan> | 2014-01-24 22:38:02 +0000 |
commit | 5fd119daea8de1e84f382e7651c996fd861974b9 (patch) | |
tree | de65598674fad017b2c1ea457480a5c7ab7c6be8 /calmwm.h | |
parent | 371902b3c9fc6c7419f8134e96d67c8735726ff2 (diff) | |
parent | 6f103498437d2b2b9eeee66be168a1cc0144bdff (diff) | |
download | cwm-5fd119daea8de1e84f382e7651c996fd861974b9.tar.gz cwm-5fd119daea8de1e84f382e7651c996fd861974b9.tar.xz cwm-5fd119daea8de1e84f382e7651c996fd861974b9.zip |
cvsimport
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h index 0f2bde6..e8042c1 100644 --- a/calmwm.h +++ b/calmwm.h @@ -97,6 +97,10 @@ size_t strlcat(char *, const char *, size_t); #define CWM_WIN 0x0001 +#define CWM_QUIT 0x0000 +#define CWM_RUNNING 0x0001 +#define CWM_RESTART 0x0002 + union arg { char *c; int i; @@ -339,6 +343,7 @@ extern struct client_ctx_q Clientq; extern struct conf Conf; extern const char *homedir; extern int HasRandr, Randr_ev; +extern volatile sig_atomic_t cwm_status; enum { WM_STATE, @@ -485,11 +490,10 @@ void kbfunc_client_search(struct client_ctx *, union arg *); void kbfunc_client_vmaximize(struct client_ctx *, union arg *); void kbfunc_cmdexec(struct client_ctx *, union arg *); +void kbfunc_cwm_status(struct client_ctx *, union arg *); void kbfunc_exec(struct client_ctx *, union arg *); void kbfunc_lock(struct client_ctx *, union arg *); void kbfunc_menu_search(struct client_ctx *, union arg *); -void kbfunc_quit_wm(struct client_ctx *, union arg *); -void kbfunc_restart(struct client_ctx *, union arg *); void kbfunc_ssh(struct client_ctx *, union arg *); void kbfunc_term(struct client_ctx *, union arg *); void kbfunc_tile(struct client_ctx *, union arg *); @@ -539,7 +543,7 @@ void conf_init(struct conf *); void conf_ignore(struct conf *, const char *); void conf_screen(struct screen_ctx *); -void xev_loop(void); +void xev_process(void); void xu_btn_grab(Window, int, unsigned int); void xu_btn_ungrab(Window); |