mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
view: is_toplevel() deal with !view
This commit is contained in:
parent
fc2754ac89
commit
c6c73366d2
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
static bool is_toplevel(struct view *view)
|
||||
{
|
||||
if (!view)
|
||||
return false;
|
||||
if (!view->been_mapped)
|
||||
return false;
|
||||
switch (view->type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue