diff options
author | emersion <contact@emersion.fr> | 2018-07-06 16:22:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 16:22:13 +0100 |
commit | b3c55dd909b070625c9bfcebcb89cb8463e2ffc9 (patch) | |
tree | 714db24403e159b89cf5eaa59ddbd6cccd033947 /sway/desktop/transaction.c | |
parent | 7ef08ffbe6dc9a0b35cd9cad0b689136e3515886 (diff) | |
parent | b8ee88344a5e2869fd3ce04762eda305dc5bf62e (diff) |
Merge branch 'master' into leaks
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r-- | sway/desktop/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index b4d796cb..179af617 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -73,8 +73,8 @@ static void save_view_buffer(struct sway_view *view, } if (view->surface && wlr_surface_has_buffer(view->surface)) { instruction->saved_buffer = wlr_buffer_ref(view->surface->buffer); - instruction->saved_buffer_width = view->surface->current->width; - instruction->saved_buffer_height = view->surface->current->height; + instruction->saved_buffer_width = view->surface->current.width; + instruction->saved_buffer_height = view->surface->current.height; } } |