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
commitc5a63751f8b4eab72794e56365ead929023f2b94 (patch)
treedf13c5ec28b27bb1b02a06c214b0b889fe3f174e /src/twm.c
parent6ea386bd98a737a9f54e2ca4216adf45868fd6e4 (diff)
Remove global variables JunkX, JunkY
Replace with a local variable following the naming scheme from Identify() in src/menus.c. Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/twm.c')
-rw-r--r--src/twm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/twm.c b/src/twm.c
index 881a29a..86c27e3 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -138,8 +138,6 @@ int ParseError; /* error parsing the .twmrc file */
int HandlingEvents = FALSE; /* are we handling events yet? */
-int JunkX; /* junk variable */
-int JunkY; /* junk variable */
unsigned int JunkWidth, JunkHeight, JunkBW, JunkDepth, JunkMask;
char *ProgramName;
@@ -554,9 +552,6 @@ main(int argc, char *argv[])
XGrabServer(dpy);
XSync(dpy, 0);
- JunkX = 0;
- JunkY = 0;
-
XQueryTree(dpy, Scr->Root, &root, &parent, &children, &nchildren);
CreateIconManagers();
if (!Scr->NoIconManagers)