diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-01 09:46:02 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-07-05 00:26:35 +0100 |
commit | d43500831a78580f59525144a0c9b034d4d399d0 (patch) | |
tree | aacb4197dcfc144fb5790eb2a7287649520c8fc7 /sway/desktop/transaction.c | |
parent | Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiled (diff) | |
download | sway-d43500831a78580f59525144a0c9b034d4d399d0.tar.gz sway-d43500831a78580f59525144a0c9b034d4d399d0.tar.zst sway-d43500831a78580f59525144a0c9b034d4d399d0.zip |
Updates per wlroots#1076
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, | |||
73 | } | 73 | } |
74 | if (view->surface && wlr_surface_has_buffer(view->surface)) { | 74 | if (view->surface && wlr_surface_has_buffer(view->surface)) { |
75 | instruction->saved_buffer = wlr_buffer_ref(view->surface->buffer); | 75 | instruction->saved_buffer = wlr_buffer_ref(view->surface->buffer); |
76 | instruction->saved_buffer_width = view->surface->current->width; | 76 | instruction->saved_buffer_width = view->surface->current.width; |
77 | instruction->saved_buffer_height = view->surface->current->height; | 77 | instruction->saved_buffer_height = view->surface->current.height; |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||