Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:AndreasSchwab:emacs:30
emacs
emacs-26.1-xft4x11.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File emacs-26.1-xft4x11.patch of Package emacs
--- lwlib/xlwmenu.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) --- lwlib/xlwmenu.c +++ lwlib/xlwmenu.c 2018-06-15 05:50:45.749287186 +0000 @@ -1894,21 +1894,18 @@ XlwMenuInitialize (Widget request, Widge gray_width, gray_height, (unsigned long)1, (unsigned long)0, 1); + mw->menu.font = XLoadQueryFont (display, mw->menu.fontName); #if defined USE_CAIRO || defined HAVE_XFT - if (openXftFont (mw)) + if (mw->menu.font || openXftFont (mw)) ; else #endif { - mw->menu.font = XLoadQueryFont (display, mw->menu.fontName); + mw->menu.font = XLoadQueryFont (display, "fixed"); if (!mw->menu.font) { - mw->menu.font = XLoadQueryFont (display, "fixed"); - if (!mw->menu.font) - { - fprintf (stderr, "Menu font fixed not found, can't continue.\n"); - emacs_abort (); - } + fprintf (stderr, "Menu font fixed not found, can't continue.\n"); + emacs_abort (); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor