summaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-03-27 13:28:43 -0400
committerDrew DeVault <[email protected]>2018-03-27 13:28:43 -0400
commitcbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c (patch)
treef4207749074a611f47ebd1a69bd0bb25923351dc /sway/desktop/xdg_shell_v6.c
parentd5a8a879b65e4d83dbd1e7d87e9ef20ffd4b657f (diff)
Update API to match latest wlroots
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 7371b829..7b550b30 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -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);
}
}