diff options
Diffstat (limited to 'sway/desktop/desktop.c')
-rw-r--r-- | sway/desktop/desktop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/desktop.c b/sway/desktop/desktop.c index 771b58fe..d8dd0240 100644 --- a/sway/desktop/desktop.c +++ b/sway/desktop/desktop.c | |||
@@ -28,8 +28,8 @@ void desktop_damage_box(struct wlr_box *box) { | |||
28 | void desktop_damage_view(struct sway_view *view) { | 28 | void desktop_damage_view(struct sway_view *view) { |
29 | desktop_damage_whole_container(view->container); | 29 | desktop_damage_whole_container(view->container); |
30 | struct wlr_box box = { | 30 | struct wlr_box box = { |
31 | .x = view->container->current.view_x - view->geometry.x, | 31 | .x = view->container->current.content_x - view->geometry.x, |
32 | .y = view->container->current.view_y - view->geometry.y, | 32 | .y = view->container->current.content_y - view->geometry.y, |
33 | .width = view->surface->current.width, | 33 | .width = view->surface->current.width, |
34 | .height = view->surface->current.height, | 34 | .height = view->surface->current.height, |
35 | }; | 35 | }; |