diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-22 17:33:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 17:33:22 -0500 |
commit | 1c1b5b1b17519e945097e9ca9a8f7b5a1669a4fe (patch) | |
tree | 6e1c1574eba0d00d711f63bebc4fafa9f88c38ea | |
parent | 41c272b77ac3abac22a6622aa717f42402c54460 (diff) | |
parent | f0404f6d75bd42a637ddbe7d65a748c9d78ef75d (diff) | |
download | wlroots-1c1b5b1b17519e945097e9ca9a8f7b5a1669a4fe.tar.xz |
Merge pull request #662 from emersion/surface-resize-frame-done
surface: don't reset frame_callback_list on resize
-rw-r--r-- | types/wlr_surface.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/types/wlr_surface.c b/types/wlr_surface.c index e2588167..d63fc1f1 100644 --- a/types/wlr_surface.c +++ b/types/wlr_surface.c @@ -170,12 +170,6 @@ static bool wlr_surface_update_size(struct wlr_surface *surface, height = tmp; } - struct wlr_frame_callback *cb, *tmp; - wl_list_for_each_safe(cb, tmp, &state->frame_callback_list, link) { - wl_resource_destroy(cb->resource); - } - wl_list_init(&state->frame_callback_list); - bool update_damage = false; if (width != state->width || height != state->height) { // Damage the whole surface on resize |