From 9e42567818fe26ed97e05cccc0f9b74a2f523ce6 Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Sat, 20 Jan 2024 16:07:00 +0100 Subject: Remove now unused NoPrintscreens variable Support for xprint was removed in commit 0ce52bc9ed. Signed-off-by: Tim Wiederhake --- src/twm.c | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3