summaryrefslogtreecommitdiff
path: root/zwgc/X_gram.h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-21 04:11:03 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-21 04:11:03 +0000
commita6fed35df2fddffc5b0397721fbdf46fb1b59399 (patch)
tree029ad4ed9223526af865364dd711bc523c6b4c8d /zwgc/X_gram.h
parent141ce091298a1364e2f6f56f71ad751931120188 (diff)
Patch from Anders Kaseorg, use Xutf8DrawText et al. where available,
and use XFontSet instead of XFontStruct * Tweaks to resource file to help the above pick some less wrong fonts.
Diffstat (limited to 'zwgc/X_gram.h')
-rw-r--r--zwgc/X_gram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/X_gram.h b/zwgc/X_gram.h
index dfff8f1..fe591be 100644
--- a/zwgc/X_gram.h
+++ b/zwgc/X_gram.h
@@ -25,7 +25,7 @@
typedef struct _xblock {
unsigned long fgcolor;
- Font fid;
+ XFontSet font;
int x,y;
int x1,y1,x2,y2; /* bounds of block. used for cut and paste. */
int strindex;
@@ -49,7 +49,7 @@ typedef struct _x_gram {
typedef struct _xauxblock {
int align;
- XFontStruct *font;
+ XFontSet font;
char *str;
int len;
int width;