mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view: refactor view_next()
This commit is contained in:
parent
b8fd4fed53
commit
afaf78aa72
7 changed files with 50 additions and 65 deletions
|
|
@ -57,8 +57,6 @@ static void _close(struct view *view)
|
|||
|
||||
static bool want_ssd(struct view *view)
|
||||
{
|
||||
if (view->xwayland_surface->override_redirect)
|
||||
return false;
|
||||
if (view->xwayland_surface->decorations !=
|
||||
WLR_XWAYLAND_SURFACE_DECORATIONS_ALL)
|
||||
return false;
|
||||
|
|
@ -89,7 +87,7 @@ static void unmap(struct view *view)
|
|||
{
|
||||
view->mapped = false;
|
||||
wl_list_remove(&view->commit.link);
|
||||
view_focus(next_toplevel(view));
|
||||
view_focus(view_next(view));
|
||||
}
|
||||
|
||||
static const struct view_impl xwl_view_impl = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue