diff options
author | Tim Wiederhake <twied@gmx.net> | 2024-01-20 16:07:00 +0100 |
---|---|---|
committer | Tim Wiederhake <twied@gmx.net> | 2024-01-20 16:07:00 +0100 |
commit | b8fe4a7270502dd9242bd5585b67f3afbdbbbadb (patch) | |
tree | d2d9755f9033513501d28a7f0f9641e23acaebc0 | |
parent | 90058211800fd45ee7cc8408278d3b200bdfd2e5 (diff) |
Make MultiScreen a local variable
Signed-off-by: Tim Wiederhake <twied@gmx.net>
-rw-r--r-- | src/screen.h | 1 | ||||
-rw-r--r-- | src/twm.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/screen.h b/src/screen.h index 403ce18..0cb307e 100644 --- a/src/screen.h +++ b/src/screen.h @@ -251,7 +251,6 @@ typedef struct ScreenInfo { FuncKey FuncKeyRoot; } ScreenInfo; -extern int MultiScreen; extern int NumScreens; extern ScreenInfo **ScreenList; extern ScreenInfo *Scr; @@ -96,7 +96,6 @@ XtSignalId si; 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 NumScreens; /* number of screens in ScreenList */ int HasShape; /* server supports shape extension? */ @@ -219,6 +218,7 @@ main(int argc, char *argv[]) char *restore_filename = NULL; char *client_id = NULL; char *loc; + int MultiScreen = TRUE; /* try for more than one screen? */ ProgramName = argv[0]; Argc = argc; |