Skip to content

Commit

Permalink
Revert "used_sm: skip setup of maximized windows"
Browse files Browse the repository at this point in the history
This reverts commit cf96e02.
  • Loading branch information
ThomasAdam committed Aug 29, 2020
1 parent c1a10ec commit 9f3ec1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fvwm/add_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -2507,16 +2507,10 @@ FvwmWindow *AddWindow(
if (state_args.do_max)
{
SET_MAXIMIZED(fw, 1);
#if 0
/* TA: 2020-04028: No longer need to perform these
* operations, since the size is already constrained
* on recapture.
*/
constrain_size(
fw, NULL, &fw->g.max.width, &fw->g.max.height,
0, 0, CS_UPDATE_MAX_DEFECT);
get_relative_geometry(fw, &fw->g.frame, &fw->g.max);
#endif
}
else
{
Expand Down

0 comments on commit 9f3ec1b

Please sign in to comment.