diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 247c279f..96635db4 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <time.h> | 4 | #include <time.h> |
5 | #include <wayland-server.h> | 5 | #include <wayland-server.h> |
6 | #include <wlr/render.h> | 6 | #include <wlr/render/wlr_renderer.h> |
7 | #include <wlr/types/wlr_matrix.h> | 7 | #include <wlr/types/wlr_matrix.h> |
8 | #include <wlr/types/wlr_output.h> | 8 | #include <wlr/types/wlr_output.h> |
9 | #include <wlr/types/wlr_surface.h> | 9 | #include <wlr/types/wlr_surface.h> |
@@ -152,8 +152,8 @@ static void output_frame_view(swayc_t *view, void *data) { | |||
152 | 152 | ||
153 | switch (sway_view->type) { | 153 | switch (sway_view->type) { |
154 | case SWAY_XDG_SHELL_V6_VIEW: { | 154 | case SWAY_XDG_SHELL_V6_VIEW: { |
155 | int window_offset_x = view->sway_view->wlr_xdg_surface_v6->geometry->x; | 155 | int window_offset_x = view->sway_view->wlr_xdg_surface_v6->geometry.x; |
156 | int window_offset_y = view->sway_view->wlr_xdg_surface_v6->geometry->y; | 156 | int window_offset_y = view->sway_view->wlr_xdg_surface_v6->geometry.y; |
157 | render_surface(surface, wlr_output, &output->last_frame, | 157 | render_surface(surface, wlr_output, &output->last_frame, |
158 | view->x - window_offset_x, | 158 | view->x - window_offset_x, |
159 | view->y - window_offset_y, | 159 | view->y - window_offset_y, |