~strahinja/dwm

0a73f28a — Страхиња Радић 9 months ago master
Merge branch 'upstream'
8938d281 — Страхиња Радић 9 months ago
Make OpenBSD default

Signed-off-by: Страхиња Радић <contact@strahinja.org>
061e9fe9 — Hiltjo Posthuma 9 months ago
bump version to 6.5
e816d941 — Страхиња Радић 10 months ago
screenshot: Tidy up

Signed-off-by: Страхиња Радић <contact@strahinja.org>
d3fd8f13 — Страхиња Радић 1 year, 3 months ago
Merge branch 'master' of ssh://git.sr.ht/~strahinja/dwm
0791825c — Страхиња Радић 1 year, 3 months ago
Add previous change as patch to applied/

Signed-off-by: Страхиња Радић <contact@strahinja.org>
e9495273 — Страхиња Радић 1 year, 3 months ago
dwm.c: Kill autostart processes with TERM, then if no response in 100ms, kill them with HUP

Signed-off-by: Страхиња Радић <contact@strahinja.org>
935838e3 — Страхиња Радић 1 year, 4 months ago
config.h,config.def.h: Remove obsolete parameter to picom

Signed-off-by: Страхиња Радић <contact@strahinja.org>
ae26e7d2 — Страхиња Радић 1 year, 4 months ago
pickchar: Include 2000-2fff

Signed-off-by: Страхиња Радић <contact@strahinja.org>
82eeec42 — Страхиња Радић 1 year, 5 months ago
pickchar: Simplify unicode output and make it independent of GNU coreutils

Signed-off-by: Страхиња Радић <contact@strahinja.org>
e694bfc3 — Страхиња Радић 1 year, 6 months ago
Merge branch 'upstream'

Signed-off-by: Страхиња Радић <contact@strahinja.org>
5900810f — Страхиња Радић 1 year, 3 months ago
Add previous change as patch to applied/

Signed-off-by: Страхиња Радић <contact@strahinja.org>
411aed1b — Страхиња Радић 1 year, 3 months ago
dwm.c: Kill autostart processes with TERM, then if no response in 100ms, kill them with HUP

Signed-off-by: Страхиња Радић <contact@strahinja.org>
9f885534 — Hiltjo Posthuma 1 year, 3 months ago
Makefile: remove the options target

The Makefile used to suppress output (by using @), so this target made sense at
the time.

But the Makefile should be simple and make debugging with less abstractions or
fancy printing.  The Makefile was made verbose and doesn't hide the build
output, so remove this target.

Prompted by a question on the mailing list about the options target.
02a3700c — Страхиња Радић 1 year, 4 months ago
config.h,config.def.h: Remove obsolete parameter to picom

Signed-off-by: Страхиња Радић <contact@strahinja.org>
e3aea19b — Страхиња Радић 1 year, 4 months ago
pickchar: Include 2000-2fff

Signed-off-by: Страхиња Радић <contact@strahinja.org>
0dd2e474 — Страхиња Радић 1 year, 5 months ago
pickchar: Simplify unicode output and make it independent of GNU coreutils

Signed-off-by: Страхиња Радић <contact@strahinja.org>
26e74ddc — Страхиња Радић 1 year, 6 months ago
Merge branch 'upstream'

Signed-off-by: Страхиња Радић <contact@strahinja.org>
e81f17d4 — Hiltjo Posthuma 1 year, 9 months ago
restore SIGCHLD sighandler to default before spawning a program

From sigaction(2):
A child created via fork(2) inherits a copy of its parent's signal dispositions.
During an execve(2), the dispositions of handled signals are reset to the default;
the dispositions of ignored signals are left unchanged.

This refused to start directly some programs from configuring in config.h:

static Key keys[] = {
	MODKEY,                       XK_o,      spawn,          {.v = cmd } },
};

Some reported programs that didn't start were: mpv, anki, dmenu_extended.

Reported by pfx.
Initial patch suggestion by Storkman.
config.mk: update to _XOPEN_SOURCE=700L

SA_NOCLDWAIT is marked as XSI in the posix spec [0] and FreeBSD and NetBSD
seems to more be strict about the feature test macro [1].

so update the macro to use _XOPEN_SOURCE=700L instead, which is equivalent to
_POSIX_C_SOURCE=200809L except that it also unlocks the X/Open System
Interfaces.

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html#tag_13_42
[1]: https://lists.suckless.org/dev/2302/35111.html

Tested on:
* NetBSD 9.3 (fixed).
* FreeBSD 13 (fixed).
* Void Linux musl.
* Void Linux glibc.
* OpenBSD 7.2 (stable).
* Slackware 11.

Reported-by: beastie <pufferfish@riseup.net>
Next