Skip to content

Commit

Permalink
save original geometry when gridding
Browse files Browse the repository at this point in the history
  • Loading branch information
tudurom committed Nov 12, 2019
1 parent 8d9eb9c commit 059c4f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2324,6 +2324,8 @@ grid_window(struct client *client, uint16_t grid_width, uint16_t grid_height, ui

new_h = base_h * occ_h + (occ_h - 1) * (conf.grid_gap + 2 * conf.border_width);

client->orig_geom = client->geom;

client->geom.width = new_w;
client->geom.height = new_h;

Expand Down

0 comments on commit 059c4f9

Please sign in to comment.