mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
move the 2 small font helper functions to xutil.c
This commit is contained in:
@ -58,11 +58,12 @@ mousefunc_sweep_draw(struct client_ctx *cc)
|
||||
|
||||
XReparentWindow(X_Dpy, sc->menuwin, cc->win, 0, 0);
|
||||
XMoveResizeWindow(X_Dpy, sc->menuwin, 0, 0,
|
||||
font_width(sc->xftfont, asize, strlen(asize)), sc->xftfont->height);
|
||||
xu_xft_width(sc->xftfont, asize, strlen(asize)),
|
||||
sc->xftfont->height);
|
||||
XMapWindow(X_Dpy, sc->menuwin);
|
||||
XClearWindow(X_Dpy, sc->menuwin);
|
||||
|
||||
font_draw(sc, asize, sc->menuwin, CWM_COLOR_MENU_FONT,
|
||||
xu_xft_draw(sc, asize, sc->menuwin, CWM_COLOR_MENU_FONT,
|
||||
0, sc->xftfont->ascent + 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user