diff --git a/fvwm/virtual.c b/fvwm/virtual.c index 239d0ed2f..79171cf61 100644 --- a/fvwm/virtual.c +++ b/fvwm/virtual.c @@ -1967,6 +1967,8 @@ void CMD_EdgeCommand(F_CMD_ARGS) if (action != NULL) actdup = fxstrdup(action); + initPanFrames(); + /* get the direction */ direction = gravity_parse_dir_argument(action, &action, DIR_NONE); @@ -2043,6 +2045,8 @@ void CMD_EdgeLeaveCommand(F_CMD_ARGS) if (action != NULL) actdup = fxstrdup(action); + initPanFrames(); + /* get the direction */ direction = gravity_parse_dir_argument(action, &action, DIR_NONE);