Commit 084b049b authored by Jan Djärv's avatar Jan Djärv

xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).

parent d6b8d4e7
2009-11-25 Jan Djärv <jan.h.d@swipnet.se>
* xsettings.c: Revert changes from 2009-11-23. Just use Xft
defaults (bug #5025).
2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
* insdel.c (adjust_markers_for_delete): Move it in the
......
......@@ -367,24 +367,6 @@ read_xft_settings (dpyinfo, settings)
return rc == Success;
}
static void
set_default_xft_settings (dpyinfo)
struct x_display_info *dpyinfo;
{
FcPattern *pat;
pat = FcPatternCreate ();
XftDefaultSubstitute (dpyinfo->display,
XScreenNumberOfScreen (dpyinfo->screen),
pat);
FcPatternDel (pat, FC_ANTIALIAS);
FcPatternAddBool (pat, FC_ANTIALIAS, FcTrue);
FcPatternDel (pat, FC_HINTING);
FcPatternAddBool (pat, FC_HINTING, FcTrue);
FcPatternDel (pat, FC_HINT_STYLE);
FcPatternAddInteger (pat, FC_HINT_STYLE,FC_HINT_MEDIUM);
XftDefaultSet (dpyinfo->display, pat);
}
static void
apply_xft_settings (dpyinfo, send_event_p)
......@@ -565,8 +547,6 @@ init_xfd_settings (dpyinfo)
get_prop_window (dpyinfo);
if (dpyinfo->xsettings_window != None)
apply_xft_settings (dpyinfo, False);
else
set_default_xft_settings (dpyinfo);
UNBLOCK_INPUT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment