[hackers] [st] using XDrawString instead of XmbDrawString

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri Mar 02 15:27:18 2007

changeset: 50:f17403bd2acc
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Fri Mar 02 15:25:38 2007 +0100
summary: using XDrawString instead of XmbDrawString

diff -r 48dd9648a0d9 -r f17403bd2acc ui.c
--- a/ui.c Fri Mar 02 15:24:59 2007 +0100
+++ b/ui.c Fri Mar 02 15:25:38 2007 +0100
@@ -27,7 +27,7 @@ win_draw_string(int row, int col, char *
         if(dc.font.set)
                 XmbDrawString(dpy, win, dc.font.set, gc, col * dc.font.width, row * dc.font.height + dc.font.ascent, s, l);
         else
- XDrawImageString(dpy, win, gc, col * dc.font.width, row * dc.font.height + dc.font.ascent, s, l);
+ XDrawString(dpy, win, gc, col * dc.font.width, row * dc.font.height + dc.font.ascent, s, l);
 }
 
 void
Received on Fri Mar 02 2007 - 15:27:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:04 UTC