aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-08-12 00:15:04 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-08-12 00:15:04 +0200
commit7a15e715b7c5c91b12f82b3e94230b6644d3893d (patch)
tree836a465c7c7bc8df21c2afe2e020cd2c855db502 /include
parentAdd persian README file (diff)
downloadsway-7a15e715b7c5c91b12f82b3e94230b6644d3893d.tar.gz
sway-7a15e715b7c5c91b12f82b3e94230b6644d3893d.tar.zst
sway-7a15e715b7c5c91b12f82b3e94230b6644d3893d.zip
Document view_map
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 923498ec..11ac74c9 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -310,6 +310,15 @@ void view_destroy(struct sway_view *view);
310 310
311void view_begin_destroy(struct sway_view *view); 311void view_begin_destroy(struct sway_view *view);
312 312
313/**
314 * Map a view, ie. make it visible in the tree.
315 *
316 * `fullscreen` should be set to true (and optionally `fullscreen_output`
317 * should be populated) if the view should be made fullscreen immediately.
318 *
319 * `decoration` should be set to true if the client prefers CSD. The client's
320 * preference may be ignored.
321 */
313void view_map(struct sway_view *view, struct wlr_surface *wlr_surface, 322void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
314 bool fullscreen, struct wlr_output *fullscreen_output, bool decoration); 323 bool fullscreen, struct wlr_output *fullscreen_output, bool decoration);
315 324