aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-06 11:13:37 -0400
committerGitHub <noreply@github.com>2017-10-06 11:13:37 -0400
commitb351e0a95063114f8ff06c90c21d76cb9d26834e (patch)
treed6b2a838d1388bc404a1c5813d3fa3b84ab98daa /include/wlr
parent6aafc2f61a395cf72b204f487e74bd83965a41e6 (diff)
parentf402598ee115e06a9d7595042495e9b061d7530a (diff)
Merge pull request #224 from emersion/rootston-commands
Add command to close views
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell_v6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h
index cc52d9c7..de8dfca7 100644
--- a/include/wlr/types/wlr_xdg_shell_v6.h
+++ b/include/wlr/types/wlr_xdg_shell_v6.h
@@ -172,4 +172,9 @@ void wlr_xdg_toplevel_v6_set_fullscreen(struct wlr_xdg_surface_v6 *surface,
void wlr_xdg_toplevel_v6_set_resizing(struct wlr_xdg_surface_v6 *surface,
bool resizing);
+/**
+ * Request that this toplevel surface closes.
+ */
+void wlr_xdg_toplevel_v6_send_close(struct wlr_xdg_surface_v6 *surface);
+
#endif