diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2021-08-11 15:18:46 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-12 10:05:12 +0200 |
commit | f67ed6772c27d7ba163e8caa3c9eb8481712a716 (patch) | |
tree | 9ba3d046cf7cb82f759a11b732bb459a8a78e5fe /include | |
parent | acf946fe4c495b47c5a76230ba98f9b973bec96d (diff) |
layer_shell: damage previous area when a surface shrinks
When a layer surface shrinks we need to damage the area it previously
occupied, but we don't know the location of all its subsurfaces in the
previous state, so instead damage a rectangle that encloses the entire
previous extent.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/layers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/layers.h b/include/sway/layers.h index 82ac5368..3c33c748 100644 --- a/include/sway/layers.h +++ b/include/sway/layers.h @@ -22,6 +22,7 @@ struct sway_layer_surface { struct wl_listener new_subsurface; struct wlr_box geo; + struct wlr_box extent; enum zwlr_layer_shell_v1_layer layer; }; |