xwayland: Fix size issue when starting VLC fullscreen

This commit is contained in:
John Lindgren 2023-02-08 03:20:31 -05:00 committed by Johan Malm
parent 44a15b16ce
commit 09599861ac
2 changed files with 21 additions and 0 deletions

View file

@ -106,6 +106,13 @@ struct xdg_toplevel_view {
struct wl_listener new_popup;
};
static inline bool
view_is_floating(struct view *view)
{
return !view->fullscreen && !view->maximized && !view->tiled
&& !view->tiled_region;
}
void view_set_activated(struct view *view);
void view_close(struct view *view);