summaryrefslogtreecommitdiff
path: root/src/twm.c
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2024-01-20 16:07:00 +0100
committerTim Wiederhake <twied@gmx.net>2024-01-20 16:07:00 +0100
commit9e42567818fe26ed97e05cccc0f9b74a2f523ce6 (patch)
tree950e9280319d6c5aec3e3a9c3391304674322d6f /src/twm.c
parentd3c1ede2480af93cc4cfefb8ba48798e6a4af8ea (diff)
Remove now unused NoPrintscreens variable
Support for xprint was removed in commit 0ce52bc9ed. Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/twm.c')
-rw-r--r--src/twm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/twm.c b/src/twm.c
index c3b002c..b2c6e66 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -97,7 +97,6 @@ Display *dpy = NULL; /* which display are we talking to */
Window ResizeWindow; /* the window we are resizing */
int MultiScreen = TRUE; /* try for more than one screen? */
-int NoPrintscreens = False; /* ignore special handling of print screens? */
int NumScreens; /* number of screens in ScreenList */
int HasShape; /* server supports shape extension? */
@@ -639,8 +638,7 @@ main(int argc, char *argv[])
if (numManaged == 0) {
if (MultiScreen && NumScreens > 0) {
- twmError("unable to find any unmanaged %sscreens.\n",
- NoPrintscreens ? "" : "video ");
+ twmError("unable to find any unmanaged video screens.\n");
}
exit(EXIT_FAILURE);
}