[teklib-general] changeset in /hg/teklib/current: exitinstance: unset active font...

Franciska Schulze fschulze at neoscientists.org
Mon Nov 26 16:25:20 CET 2007


changeset c3cec766fe21 in /hg/teklib/current
details: http://teklib.org:8001/hg/teklib/current?cmd=changeset;node=c3cec766fe21
description:
	exitinstance: unset active fonts in open visuals

diffs (14 lines):

diff -r 42e17eff8a6c -r c3cec766fe21 src/display_x11/display_x11_inst.c
--- a/src/display_x11/display_x11_inst.c	Sun Sep 30 21:42:43 2007 +0200
+++ b/src/display_x11/display_x11_inst.c	Sun Sep 30 21:46:47 2007 +0200
@@ -256,6 +256,10 @@ x11_exitinstance(TMOD_X11 *inst)
 	for (; (next = node->tln_Succ); node = next)
 	{
 		VISUAL *v = (VISUAL *) node;
+
+		/* unset active font in all open visuals */
+		v->curfont = TNULL;
+
 		while ((imsg = TRemHead(&v->imsgqueue)))
 			TExecFree(inst->x11_ExecBase, imsg);
 	}


More information about the teklib-general mailing list