aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-03-24 23:24:02 -0400
committerDrew DeVault <sir@cmpwn.com>2019-04-11 09:18:48 -0600
commit195226120fcf4854c90e544a6e7e0ec0b1c3312c (patch)
tree55d6d0e2c7a737897f8941be79ff20697ab3317a /include
parente0324fc88c4a9041e8c97bdf99ee33eb198c1310 (diff)
Honor output for xdg_toplevel_set_fullscreen
This honors the fullscreen output request for `xdg_toplevel_set_fullscreen` and `zxdg_toplevel_v6_set_fullscreen`. If the request was sent before mapping, the fullscreen output request will be retrieved from the client_pending state for the toplevel. The output will be passed to `view_map` and if there is a workspace on the output, the view will be placed on that workspace. If the request comes in after being mapped, the view will be moved to the workspace on the output (if there is one) before becoming fullscreen.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index ac203ac7..bdd8960c 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -314,7 +314,7 @@ void view_destroy(struct sway_view *view);
void view_begin_destroy(struct sway_view *view);
void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
- bool fullscreen, bool decoration);
+ bool fullscreen, struct wlr_output *fullscreen_output, bool decoration);
void view_unmap(struct sway_view *view);