Implement fullscreen.

This commit is contained in:
Ryan Dwyer 2018-04-16 20:36:40 +10:00
parent dbc36935ee
commit 52420cc24d
12 changed files with 204 additions and 8 deletions

View file

@ -72,9 +72,13 @@ struct sway_container {
// For C_OUTPUT, this is the output position in layout coordinates
// For other types, this is the position in output-local coordinates
double x, y;
double saved_x, saved_y;
// does not include borders or gaps.
double width, height;
// For C_WORKSPACE only
struct sway_view *fullscreen;
list_t *children;
struct sway_container *parent;