mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
xdg: Set view->output prior to view_set_fullscreen()
This commit is contained in:
parent
ed19bc4f9e
commit
bdbbbb2e62
5 changed files with 30 additions and 20 deletions
|
|
@ -313,7 +313,7 @@ handle_request_fullscreen(struct wl_listener *listener, void *data)
|
|||
if (!view->mapped) {
|
||||
ensure_initial_geometry_and_output(view);
|
||||
}
|
||||
view_set_fullscreen(view, fullscreen, NULL);
|
||||
view_set_fullscreen(view, fullscreen);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -429,7 +429,7 @@ xwayland_view_map(struct view *view)
|
|||
struct wlr_xwayland_surface *xwayland_surface =
|
||||
xwayland_surface_from_view(view);
|
||||
if (!view->fullscreen && xwayland_surface->fullscreen) {
|
||||
view_set_fullscreen(view, true, NULL);
|
||||
view_set_fullscreen(view, true);
|
||||
}
|
||||
|
||||
if (view->surface != xwayland_surface->surface) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue