Move cwm_status around to avoid header fu, and remove extraneous signal

header from xevents.c; noticed by Christian Neukirchen.
This commit is contained in:
okan 2014-01-30 15:41:11 +00:00
parent 7b5b7cc9e9
commit fdefcecfa0
3 changed files with 2 additions and 10 deletions

View File

@ -327,7 +327,6 @@ 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,
@ -482,18 +481,10 @@ void kbfunc_ssh(struct client_ctx *, union arg *);
void kbfunc_term(struct client_ctx *, union arg *);
void kbfunc_tile(struct client_ctx *, union arg *);
void mousefunc_client_cyclegroup(struct client_ctx *,
union arg *);
void mousefunc_client_grouptoggle(struct client_ctx *,
union arg *);
void mousefunc_client_hide(struct client_ctx *,
union arg *);
void mousefunc_client_lower(struct client_ctx *,
union arg *);
void mousefunc_client_move(struct client_ctx *,
union arg *);
void mousefunc_client_raise(struct client_ctx *,
union arg *);
void mousefunc_client_resize(struct client_ctx *,
union arg *);
void mousefunc_menu_cmd(struct client_ctx *, union arg *);

View File

@ -35,6 +35,8 @@
#define HASH_MARKER "|1|"
extern sig_atomic_t cwm_status;
void
kbfunc_client_lower(struct client_ctx *cc, union arg *arg)
{

View File

@ -29,7 +29,6 @@
#include <err.h>
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>