diff --git a/fvwm/builtins.c b/fvwm/builtins.c index 875313c35..da16be8bd 100644 --- a/fvwm/builtins.c +++ b/fvwm/builtins.c @@ -2617,6 +2617,9 @@ void CMD_Wait(F_CMD_ARGS) char *wait_string, *rest; FvwmWindow *t; + if (!Scr.flags.are_windows_captured) + return; + /* try to get a single token */ rest = GetNextToken(action, &wait_string); if (wait_string)