mirror of
https://github.com/swaywm/sway.git
synced 2026-03-12 05:34:29 -04:00
Update API to match latest wlroots
This commit is contained in:
parent
d5a8a879b6
commit
cbb2e3308e
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ static void close(struct sway_view *view) {
|
|||
}
|
||||
struct wlr_xdg_surface_v6 *surface = view->wlr_xdg_surface_v6;
|
||||
if (surface->role == WLR_XDG_SURFACE_V6_ROLE_TOPLEVEL) {
|
||||
wlr_xdg_toplevel_v6_send_close(surface);
|
||||
wlr_xdg_surface_v6_send_close(surface);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue