diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2022-02-26 15:19:19 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2022-02-26 15:19:19 +0000 |
commit | 1bc7b4ecf9849762ce5650b6bb70768af3457631 (patch) | |
tree | 7f987ad52303ce6daf8238e5bcd5343ee958ef23 /app | |
parent | 8d9b9444cf0633c3fa7fbe4f9e3537ac5c4eda4e (diff) |
whitespace
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/calmwm.c | 4 | ||||
-rw-r--r-- | app/cwm/calmwm.h | 6 | ||||
-rw-r--r-- | app/cwm/client.c | 4 | ||||
-rw-r--r-- | app/cwm/conf.c | 4 | ||||
-rw-r--r-- | app/cwm/kbfunc.c | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/app/cwm/calmwm.c b/app/cwm/calmwm.c index 8ce27aec9..23f3b9618 100644 --- a/app/cwm/calmwm.c +++ b/app/cwm/calmwm.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.c,v 1.114 2020/03/24 14:48:29 okan Exp $ + * $OpenBSD: calmwm.c,v 1.115 2022/02/26 15:19:18 okan Exp $ */ #include <sys/types.h> @@ -94,7 +94,7 @@ main(int argc, char **argv) signal(SIGINT, sighdlr) == SIG_ERR || signal(SIGTERM, sighdlr) == SIG_ERR) err(1, "signal"); - + if (parse_config(Conf.conf_file, &Conf) == -1) { warnx("error parsing config file"); if (nflag) diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index acd3df58d..832fafb11 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.377 2022/02/26 15:03:42 okan Exp $ + * $OpenBSD: calmwm.h,v 1.378 2022/02/26 15:19:18 okan Exp $ */ #ifndef _CALMWM_H_ @@ -335,7 +335,7 @@ struct mwm_hints { unsigned long decorations; #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_FULL_APPLICATION_MODAL 3 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 *); Atom *xu_ewmh_get_net_wm_state(struct client_ctx *, int *); 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_restore_net_wm_state(struct client_ctx *); diff --git a/app/cwm/client.c b/app/cwm/client.c index 1fa65a40c..e15005883 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.265 2022/02/26 15:03:42 okan Exp $ + * $OpenBSD: client.c,v 1.266 2022/02/26 15:19:18 okan Exp $ */ #include <sys/types.h> @@ -637,7 +637,7 @@ void client_wm_hints(struct client_ctx *cc) { XWMHints *wmh; - + if ((wmh = XGetWMHints(X_Dpy, cc->win)) != NULL) { if ((wmh->flags & InputHint) && (wmh->input)) cc->flags |= CLIENT_INPUT; diff --git a/app/cwm/conf.c b/app/cwm/conf.c index 6eac8b1fb..6459aa18f 100644 --- a/app/cwm/conf.c +++ b/app/cwm/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.254 2022/01/27 18:45:10 op Exp $ + * $OpenBSD: conf.c,v 1.255 2022/02/26 15:19:18 okan Exp $ */ #include <sys/types.h> @@ -648,7 +648,7 @@ conf_unbind_mouse(struct conf *c, struct bind_ctx *unbind) struct bind_ctx *mb = NULL, *mbnxt; TAILQ_FOREACH_SAFE(mb, &c->mousebindq, entry, mbnxt) { - if ((unbind == NULL) || + if ((unbind == NULL) || ((mb->modmask == unbind->modmask) && (mb->press.button == unbind->press.button))) { TAILQ_REMOVE(&c->mousebindq, mb, entry); diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index e2d505d16..9a943df61 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.171 2022/01/27 18:45:10 op Exp $ + * $OpenBSD: kbfunc.c,v 1.172 2022/02/26 15:19:18 okan Exp $ */ #include <sys/types.h> @@ -668,7 +668,7 @@ kbfunc_menu_exec(void *ctx, struct cargs *cargs) /* lstat(2) in case d_type isn't supported. */ if (lstat(tpath, &sb) == -1) continue; - if (!S_ISREG(sb.st_mode) && + if (!S_ISREG(sb.st_mode) && !S_ISLNK(sb.st_mode)) continue; } |