1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

fixed cosmetic bug in geom. dpy window for 8bpp

removed --enable-kanji and added MultiByteText option
rewrote font code to use WINGs
made autoraise only work for the active window
fixed compilation problem with OpenWindows and other non-X11R6 systems..
This commit is contained in:
kojima
1999-05-30 05:02:55 +00:00
parent a498d53fda
commit 3d5f435be7
24 changed files with 235 additions and 707 deletions

View File

@@ -109,7 +109,7 @@ WWindow *PrevFocusWindow(WScreen *scr);
void SlideWindow(Window win, int from_x, int from_y, int to_x, int to_y);
char *ShrinkString(WFont *font, char *string, int width);
char *ShrinkString(WMFont *font, char *string, int width);
char *FindImage(char *paths, char *file);
@@ -158,22 +158,4 @@ void ExecExitScript();
Bool wFetchName(Display *dpy, Window win, char **winname);
Bool wGetIconName(Display *dpy, Window win, char **iconname);
#ifdef I18N_MB
/*void wTextWidth(XFontSet *font, char *text, int length);*/
#define wDrawString(d,f,gc,x,y,text,textlen) \
XmbDrawString(dpy, d, (f)->font, gc, (x), (y), text, textlen)
#define wTextWidth(font,text,textlen) XmbTextEscapement(font,text,textlen)
#else /* !I18N_MB */
#define wTextWidth(font,text,textlen) XTextWidth(font,text,textlen)
/*void wTextWidth(XFontStruct *font, char *text, int length);*/
#define wDrawString(d,font,gc,x,y,text,textlen) \
XDrawString(dpy, d, gc, (x), (y), text, textlen)
#endif /* !I18N_MB */
#endif