aewl

changeset 613:5f4bb0a58f32

enforcing using fontsets even if they are incomplete for some encodings
author arg@mig29
date Tue, 05 Dec 2006 10:30:31 +0100
parents 762c339325b3
children 9ae187cb9ea8
files config.mk draw.c
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line diff
     1.1 --- a/config.mk	Mon Dec 04 21:01:14 2006 +0100
     1.2 +++ b/config.mk	Tue Dec 05 10:30:31 2006 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  # dwm version
     1.5 -VERSION = 2.5.1
     1.6 +VERSION = 2.6
     1.7  
     1.8  # Customize below to fit your system
     1.9  
     2.1 --- a/draw.c	Mon Dec 04 21:01:14 2006 +0100
     2.2 +++ b/draw.c	Tue Dec 05 10:30:31 2006 +0100
     2.3 @@ -179,10 +179,6 @@
     2.4  		while(n--)
     2.5  			fprintf(stderr, "missing fontset: %s\n", missing[n]);
     2.6  		XFreeStringList(missing);
     2.7 -		if(dc.font.set) {
     2.8 -			XFreeFontSet(dpy, dc.font.set);
     2.9 -			dc.font.set = NULL;
    2.10 -		}
    2.11  	}
    2.12  	if(dc.font.set) {
    2.13  		XFontSetExtents *font_extents;