Skip to content

Commit

Permalink
Edge{,Leave}Command: check panframes
Browse files Browse the repository at this point in the history
When defining edge commands, check the panframes per monitor, so the
command itself is registered with those panframes.

Fixes #543
  • Loading branch information
ThomasAdam committed Jun 21, 2021
1 parent 31c2dbc commit 6beef2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fvwm/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,7 @@ void CMD_EdgeCommand(F_CMD_ARGS)
fvwm_debug(__func__,
"Internal error in CMD_EdgeCommand");
}
checkPanFrames(m);
}
free(command);
free(actdup);
Expand Down Expand Up @@ -2093,6 +2094,7 @@ void CMD_EdgeLeaveCommand(F_CMD_ARGS)
/* this should never happen */
fvwm_debug(__func__, "Internal error");
}
checkPanFrames(m);
}
free(command);
free(actdup);
Expand Down

0 comments on commit 6beef2c

Please sign in to comment.