mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
view: refactor view_next()
This commit is contained in:
parent
b8fd4fed53
commit
afaf78aa72
7 changed files with 50 additions and 65 deletions
|
|
@ -71,6 +71,10 @@ static void show_one_xwl_view(struct view *view)
|
|||
|
||||
void dbg_show_one_view(struct view *view)
|
||||
{
|
||||
if (!view->surface)
|
||||
return;
|
||||
if (!view->mapped && !view->minimized)
|
||||
return;
|
||||
if (view->type == LAB_XDG_SHELL_VIEW)
|
||||
show_one_xdg_view(view);
|
||||
else if (view->type == LAB_XWAYLAND_VIEW)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue