mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
Merge remote-tracking branch 'upstream/master' into atomic
This commit is contained in:
commit
645bf446fa
7 changed files with 142 additions and 118 deletions
|
|
@ -285,10 +285,10 @@ static void render_surface_iterator(struct wlr_surface *surface, int sx, int sy,
|
|||
intersects = get_view_box(&data->root_geo, data->output, data->view,
|
||||
sx, sy, &box);
|
||||
} else {
|
||||
if (!wlr_surface_has_buffer(surface)) {
|
||||
texture = wlr_surface_get_texture(surface);
|
||||
if (texture == NULL) {
|
||||
return;
|
||||
}
|
||||
texture = surface->texture;
|
||||
intersects = get_surface_box(&data->root_geo, data->output, surface,
|
||||
sx, sy, &box);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue