mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Handle fullscreen flag when mapping a surface.
This commit is contained in:
parent
a44d016e2b
commit
143b528f71
3 changed files with 12 additions and 0 deletions
|
|
@ -248,6 +248,10 @@ static void handle_map(struct wl_listener *listener, void *data) {
|
|||
// Put it back into the tree
|
||||
wlr_xwayland_surface_set_maximized(xsurface, true);
|
||||
view_map(view, xsurface->surface);
|
||||
|
||||
if (xsurface->fullscreen) {
|
||||
view_set_fullscreen(view, true);
|
||||
}
|
||||
}
|
||||
|
||||
static void handle_destroy(struct wl_listener *listener, void *data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue