localize button click routines

Keep state local into click_*() for routines relating to button clicks
than in global variables around frame.c and main.c
This commit is contained in:
Lucas de Sena
2026-02-21 03:27:29 +00:00
parent 0c75c83e3b
commit 9354a98208
5 changed files with 147 additions and 120 deletions

View File

@@ -46,6 +46,7 @@ extern void closescreen();
extern Scrn * openscreen(char *, Window);
extern void realizescreens();
extern void screentoback();
extern void click_screendepth(Scrn *s, Time time);
void closescreen();
Scrn *openscreen(char *deftitle, Window root);