diff options
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index 3b08d7bf..83ff37fd 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -38,7 +38,7 @@ static void rotate_child_position(double *sx, double *sy, double sw, double sh, static void render_surface(struct wlr_surface *surface, struct roots_desktop *desktop, struct wlr_output *wlr_output, struct timespec *when, double lx, double ly, float rotation) { - if (surface->texture->valid) { + if (wlr_surface_has_buffer(surface)) { int width = surface->current->width; int height = surface->current->height; int render_width = width * wlr_output->scale; |