aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_text.c')
-rw-r--r--pd/src/g_text.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pd/src/g_text.c b/pd/src/g_text.c
index cabe22d7..30735918 100644
--- a/pd/src/g_text.c
+++ b/pd/src/g_text.c
@@ -752,12 +752,10 @@ static void gatom_vis(t_gobj *z, t_glist *glist, int vis)
sys_hostfontsize(glist_getfont(glist)),
"black");
}
- else
- {
- sys_vgui(".x%lx.c delete %lx.l\n", glist_getcanvas(glist), x);
- sys_unqueuegui(x);
- }
+ else sys_vgui(".x%lx.c delete %lx.l\n", glist_getcanvas(glist), x);
}
+ if (!vis)
+ sys_unqueuegui(x);
}
void canvas_atom(t_glist *gl, t_atomtype type,