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 20, 2021
1 parent 8d04faf commit fc64a02
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 fc64a02

Please sign in to comment.