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
6c693929
Commit
6c693929
authored
Aug 21, 2006
by
Kim F. Storm
Browse files
(x_draw_stretch_glyph_string): It is ok to draw a
stretch glyph in left marginal areas on header and mode lines.
parent
c58790e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/macterm.c
src/macterm.c
+3
-1
src/w32term.c
src/w32term.c
+3
-1
src/xterm.c
src/xterm.c
+3
-1
No files found.
src/macterm.c
View file @
6c693929
...
...
@@ -3583,7 +3583,9 @@ x_draw_stretch_glyph_string (s)
int background_width = s->background_width;
int x = s->x, left_x = window_box_left_offset (s->w, TEXT_AREA);
if (x < left_x)
/* Don't draw into left margin, fringe or scrollbar area
except for header line and mode line. */
if (x < left_x && !s->row->mode_line_p)
{
background_width -= left_x - x;
x = left_x;
...
...
src/w32term.c
View file @
6c693929
...
...
@@ -2418,7 +2418,9 @@ x_draw_stretch_glyph_string (s)
int
background_width
=
s
->
background_width
;
int
x
=
s
->
x
,
left_x
=
window_box_left_offset
(
s
->
w
,
TEXT_AREA
);
if
(
x
<
left_x
)
/* Don't draw into left margin, fringe or scrollbar area
except for header line and mode line. */
if
(
x
<
left_x
&&
!
s
->
row
->
mode_line_p
)
{
background_width
-=
left_x
-
x
;
x
=
left_x
;
...
...
src/xterm.c
View file @
6c693929
...
...
@@ -2589,7 +2589,9 @@ x_draw_stretch_glyph_string (s)
int background_width = s->background_width;
int x = s->x, left_x = window_box_left_offset (s->w, TEXT_AREA);
if (x < left_x)
/* Don't draw into left margin, fringe or scrollbar area
except for header line and mode line. */
if (x < left_x && !s->row->mode_line_p)
{
background_width -= left_x - x;
x = left_x;
...
...
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