mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-31 22:25:28 -04:00
react to wlroots changes
This commit is contained in:
parent
bed7e244c2
commit
4cee7c4014
10 changed files with 38 additions and 36 deletions
|
|
@ -21,7 +21,7 @@ static void render_surface(struct wlr_surface *surface,
|
|||
* means. You don't have to worry about this, wlroots takes care of it. */
|
||||
struct wlr_texture *texture = wlr_surface_get_texture(surface);
|
||||
if (texture == NULL) {
|
||||
wlr_log(WLR_ERROR, "%s: %s", _("Couldn't get a surface texture"));
|
||||
wlr_log(WLR_ERROR, "%s", _("Couldn't get a surface texture"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
.when = &now,
|
||||
};
|
||||
|
||||
wlr_xdg_surface_for_each_surface(view->xdg_surface,
|
||||
wlr_xdg_surface_for_each_surface(view->xdg_toplevel->base,
|
||||
render_surface, &rdata);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue