mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtappbuilder: improve font settings.
This commit is contained in:
parent
59094bcc26
commit
9fcdd2564e
1 changed files with 3 additions and 0 deletions
|
@ -1888,6 +1888,9 @@ setup_vwr_graphics(
|
|||
if (!ui_handle->sm_font)
|
||||
ui_handle->sm_font = (XFontStruct *)XLoadQueryFont(dpy, XmDEFAULT_FONT);
|
||||
|
||||
if (!ui_handle->sm_font)
|
||||
ui_handle->sm_font = (XFontStruct *)XLoadQueryFont(dpy, "*");
|
||||
|
||||
XSetFont(dpy, ui_handle->normal_gc, ui_handle->sm_font->fid);
|
||||
XSetFont(dpy, ui_handle->select_gc, ui_handle->sm_font->fid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue