mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Ignore xdg_shell_v6 request_fullscreen if not mapped
This commit is contained in:
parent
bd67342bdc
commit
76837b9132
|
@ -234,6 +234,9 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
|
||||||
xdg_shell_v6_view->view.wlr_xdg_surface_v6->role)) {
|
xdg_shell_v6_view->view.wlr_xdg_surface_v6->role)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!xdg_shell_v6_view->view.wlr_xdg_surface_v6->mapped) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
view_set_fullscreen(&xdg_shell_v6_view->view, e->fullscreen);
|
view_set_fullscreen(&xdg_shell_v6_view->view, e->fullscreen);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue