aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-07 19:27:00 -0500
committerDavid Robillard <d@drobilla.net>2023-01-07 19:27:00 -0500
commit28631e2b202e661084039464f45228b9ce323a8f (patch)
tree6b8d7f586052093e3d47e33d6db04f71406c1bdb /src/common.c
parentb6ecd23cfb3c82c2c3f05795ebd9c65314e6367c (diff)
downloadpugl-28631e2b202e661084039464f45228b9ce323a8f.tar.gz
pugl-28631e2b202e661084039464f45228b9ce323a8f.tar.bz2
pugl-28631e2b202e661084039464f45228b9ce323a8f.zip
Replace visible flag with a more descriptive view "stage"
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index c3f0818..3c2929f 100644
--- a/src/common.c
+++ b/src/common.c
@@ -255,7 +255,7 @@ puglGetTransientParent(const PuglView* const view)
bool
puglGetVisible(const PuglView* view)
{
- return view->visible;
+ return view->stage == PUGL_VIEW_STAGE_MAPPED;
}
void*