summaryrefslogtreecommitdiff
path: root/src/twm.c
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2024-03-03 12:55:11 +0100
committerThomas E. Dickey <dickey@his.com>2024-03-07 00:42:09 +0000
commit451e1b036d3dd0fddcf54733b5616169ed5ad570 (patch)
tree91411707fa9b1393f8f676000617d70454797af8 /src/twm.c
parentb603079e08f085a6b23f2fdf3f7eef9ccec86424 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/twm.c b/src/twm.c
index a5e93bc..4be177c 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -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));
}