mirror of
https://github.com/labwc/labwc.git
synced 2026-02-08 10:06:59 -05:00
xdg: center small fullscreen views and add black background fill
This commit is contained in:
parent
96617311cd
commit
7f7b5f57ec
3 changed files with 79 additions and 1 deletions
|
|
@ -1699,6 +1699,12 @@ view_set_fullscreen(struct view *view, bool fullscreen)
|
|||
view_apply_special_geometry(view);
|
||||
}
|
||||
output_set_has_fullscreen_view(view->output, view->fullscreen);
|
||||
/*
|
||||
* Entering/leaving fullscreen might result in a different
|
||||
* scene node ending up under the cursor even if view_moved()
|
||||
* isn't called. Update cursor focus explicitly for that case.
|
||||
*/
|
||||
cursor_update_focus(view->server);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue