diff options
author | Tim Wiederhake <twied@gmx.net> | 2024-03-03 12:55:11 +0100 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2024-03-07 00:42:09 +0000 |
commit | 451e1b036d3dd0fddcf54733b5616169ed5ad570 (patch) | |
tree | 91411707fa9b1393f8f676000617d70454797af8 /src/twm.c | |
parent | b603079e08f085a6b23f2fdf3f7eef9ccec86424 (diff) |
Provide defaults for externally defined symbols
AM_CPPFLAGS defines several symbols that do not have to be there. By providing
default values in twm.h, this list can be reduced in size while still allowing
to override these values.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/twm.c')
-rw-r--r-- | src/twm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -316,7 +316,7 @@ main(int argc, char *argv[]) si = XtAppAddSignal(appContext, Done, NULL); - if (!(dpy = XtOpenDisplay(appContext, display_name, "twm", "twm", + if (!(dpy = XtOpenDisplay(appContext, display_name, APP_NAME, APP_CLASS, NULL, 0, &zero, NULL))) { twmError("unable to open display \"%s\"", XDisplayName(display_name)); } |