Skip to content

Commit

Permalink
startup: check panframes
Browse files Browse the repository at this point in the history
When starting fvwm, rather than init the panframes, let various commands
determine that, and instead check the panframes.

Fixes #543
  • Loading branch information
ThomasAdam committed Jun 21, 2021
1 parent dbd57bb commit 9da7d72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fvwm/fvwm3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,10 @@ void StartupStuff(void)
}
/* Have to do this here too because preprocessor modules have not run
* to the end when HandleEvents is entered from the main loop. */
initPanFrames();
struct monitor *m;
TAILQ_FOREACH(m, &monitor_q, entry)
checkPanFrames(m);

fFvwmInStartup = False;

/* Make sure the geometry window uses the current font */
Expand Down

0 comments on commit 9da7d72

Please sign in to comment.