whitespace

This commit is contained in:
okan 2022-02-26 15:19:18 +00:00
parent 5e5221d82d
commit 496bcc879d
5 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ main(int argc, char **argv)
signal(SIGINT, sighdlr) == SIG_ERR || signal(SIGINT, sighdlr) == SIG_ERR ||
signal(SIGTERM, sighdlr) == SIG_ERR) signal(SIGTERM, sighdlr) == SIG_ERR)
err(1, "signal"); err(1, "signal");
if (parse_config(Conf.conf_file, &Conf) == -1) { if (parse_config(Conf.conf_file, &Conf) == -1) {
warnx("error parsing config file"); warnx("error parsing config file");
if (nflag) if (nflag)

View File

@ -335,7 +335,7 @@ struct mwm_hints {
unsigned long decorations; unsigned long decorations;
#define MWM_INPUT_MODELESS 0 #define MWM_INPUT_MODELESS 0
#define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1 #define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1
#define MWM_INPUT_SYSTEM_MODAL 2 #define MWM_INPUT_SYSTEM_MODAL 2
#define MWM_INPUT_FULL_APPLICATION_MODAL 3 #define MWM_INPUT_FULL_APPLICATION_MODAL 3
long inputMode; long inputMode;
@ -585,7 +585,7 @@ int xu_ewmh_get_net_wm_desktop(struct client_ctx *, long *);
void xu_ewmh_set_net_wm_desktop(struct client_ctx *); void xu_ewmh_set_net_wm_desktop(struct client_ctx *);
Atom *xu_ewmh_get_net_wm_state(struct client_ctx *, int *); Atom *xu_ewmh_get_net_wm_state(struct client_ctx *, int *);
void xu_ewmh_handle_net_wm_state_msg(struct client_ctx *, void xu_ewmh_handle_net_wm_state_msg(struct client_ctx *,
int, Atom , Atom); int, Atom, Atom);
void xu_ewmh_set_net_wm_state(struct client_ctx *); void xu_ewmh_set_net_wm_state(struct client_ctx *);
void xu_ewmh_restore_net_wm_state(struct client_ctx *); void xu_ewmh_restore_net_wm_state(struct client_ctx *);

View File

@ -637,7 +637,7 @@ void
client_wm_hints(struct client_ctx *cc) client_wm_hints(struct client_ctx *cc)
{ {
XWMHints *wmh; XWMHints *wmh;
if ((wmh = XGetWMHints(X_Dpy, cc->win)) != NULL) { if ((wmh = XGetWMHints(X_Dpy, cc->win)) != NULL) {
if ((wmh->flags & InputHint) && (wmh->input)) if ((wmh->flags & InputHint) && (wmh->input))
cc->flags |= CLIENT_INPUT; cc->flags |= CLIENT_INPUT;

2
conf.c
View File

@ -648,7 +648,7 @@ conf_unbind_mouse(struct conf *c, struct bind_ctx *unbind)
struct bind_ctx *mb = NULL, *mbnxt; struct bind_ctx *mb = NULL, *mbnxt;
TAILQ_FOREACH_SAFE(mb, &c->mousebindq, entry, mbnxt) { TAILQ_FOREACH_SAFE(mb, &c->mousebindq, entry, mbnxt) {
if ((unbind == NULL) || if ((unbind == NULL) ||
((mb->modmask == unbind->modmask) && ((mb->modmask == unbind->modmask) &&
(mb->press.button == unbind->press.button))) { (mb->press.button == unbind->press.button))) {
TAILQ_REMOVE(&c->mousebindq, mb, entry); TAILQ_REMOVE(&c->mousebindq, mb, entry);

View File

@ -668,7 +668,7 @@ kbfunc_menu_exec(void *ctx, struct cargs *cargs)
/* lstat(2) in case d_type isn't supported. */ /* lstat(2) in case d_type isn't supported. */
if (lstat(tpath, &sb) == -1) if (lstat(tpath, &sb) == -1)
continue; continue;
if (!S_ISREG(sb.st_mode) && if (!S_ISREG(sb.st_mode) &&
!S_ISLNK(sb.st_mode)) !S_ISLNK(sb.st_mode))
continue; continue;
} }