Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
084b049b
Commit
084b049b
authored
Nov 25, 2009
by
Jan Djärv
Browse files
xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).
parent
d6b8d4e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
20 deletions
+5
-20
src/ChangeLog
src/ChangeLog
+5
-0
src/xsettings.c
src/xsettings.c
+0
-20
No files found.
src/ChangeLog
View file @
084b049b
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
...
...
src/xsettings.c
View file @
084b049b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment