Skip to content

Commit

Permalink
Edge{,Leave}Command: init panframes
Browse files Browse the repository at this point in the history
When calling either `EdgeCommand` or `EdgeLeaveCommand`, allow these
commands to initalise the panframes.

Fixes #543
  • Loading branch information
ThomasAdam committed Jun 20, 2021
1 parent fc64a02 commit 267d4cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fvwm/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 267d4cf

Please sign in to comment.