Making geom local to main().
authorphillbush <phillbush@cock.li>
Sat, 30 May 2020 08:45:28 +0000 (05:45 -0300)
committerphillbush <phillbush@cock.li>
Sat, 30 May 2020 08:45:28 +0000 (05:45 -0300)
commitbeae67a6a77acf992b044359f0e396965a3dced7
treece64cab6dd0f1522b86f54c1e3f45b683eeb4e41
parentddeb6e1ef26964604a559bde09e9ce6e06e3b739
Making geom local to main().

I moved all the geometry related code to calcmenu().

The pro is that geom is now a local variable rather than global;
and that all geometry-related code is now in one place.

The con is that it weakens performance a little bit since some
variables, such as the border, have to be reset after the window
creation.
xmenu.c