aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/wl_shell.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-30 18:53:36 -0400
committerGitHub <noreply@github.com>2018-03-30 18:53:36 -0400
commit1b88eaee6b14987c585fcf149cc26f665c584d77 (patch)
tree047052218c4f19701f29c4e5547856f445670c5b /sway/desktop/wl_shell.c
parente6fa7a722e9329b1e61ff2977ae715da3c2d9c9b (diff)
parent139f80b0f03cd772e408604203df81f285ca3f67 (diff)
Merge pull request #1665 from emersion/damage-tracking-lite
Add lite damage tracking
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r--sway/desktop/wl_shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c
index 4d4d1ed7..4fcc6317 100644
--- a/sway/desktop/wl_shell.c
+++ b/sway/desktop/wl_shell.c
@@ -67,6 +67,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
// TODO: Let floating views do whatever
view->width = sway_surface->pending_width;
view->height = sway_surface->pending_height;
+ view_damage_from(view);
}
static void handle_destroy(struct wl_listener *listener, void *data) {