Reapply prev layout when exiting tabbed/stacked

This commit is contained in:
Mikkel Oscar Lyderik 2016-04-02 16:29:31 +02:00
parent a0cebb7c5a
commit e226b20bd8
3 changed files with 31 additions and 18 deletions

View file

@ -56,6 +56,7 @@ struct sway_container {
enum swayc_types type;
enum swayc_layouts layout;
enum swayc_layouts prev_layout;
/**
* Width and height of this container, without borders or gaps.