Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dad75588
Commit
dad75588
authored
Feb 16, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(coordinates_in_window): Increase width of area
where the vertical line can be dragged.
parent
b09646e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
src/ChangeLog
src/ChangeLog
+3
-0
src/window.c
src/window.c
+8
-5
No files found.
src/ChangeLog
View file @
dad75588
2001-02-16 Gerd Moellmann <gerd@gnu.org>
* window.c (coordinates_in_window): Increase width of area
where the vertical line can be dragged.
* xterm.c (x_set_glyph_string_background_width): Extend the
background face to the end of the drawing area in the text
area, only.
...
...
src/window.c
View file @
dad75588
...
...
@@ -526,6 +526,9 @@ coordinates_in_window (w, x, y)
int
ux
=
CANON_X_UNIT
(
f
),
uy
=
CANON_Y_UNIT
(
f
);
int
x0
=
XFASTINT
(
w
->
left
)
*
ux
;
int
x1
=
x0
+
XFASTINT
(
w
->
width
)
*
ux
;
/* The width of the area where the vertical line can be dragged.
(Between mode lines for instance. */
int
grabbable_width
=
ux
;
if
(
*
x
<
x0
||
*
x
>=
x1
)
return
ON_NOTHING
;
...
...
@@ -567,10 +570,10 @@ coordinates_in_window (w, x, y)
if
(
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT
(
f
))
{
if
(
abs
(
*
x
-
x0
)
<
ux
/
2
)
if
(
abs
(
*
x
-
x0
)
<
grabbable_width
)
part
=
ON_VERTICAL_BORDER
;
}
else
if
(
!
WINDOW_RIGHTMOST_P
(
w
)
&&
abs
(
*
x
-
x1
)
<
ux
/
2
)
else
if
(
!
WINDOW_RIGHTMOST_P
(
w
)
&&
abs
(
*
x
-
x1
)
<
grabbable_width
)
part
=
ON_VERTICAL_BORDER
;
}
else
if
(
WINDOW_WANTS_HEADER_LINE_P
(
w
)
...
...
@@ -581,10 +584,10 @@ coordinates_in_window (w, x, y)
if
(
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT
(
f
))
{
if
(
abs
(
*
x
-
x0
)
<
ux
/
2
)
if
(
abs
(
*
x
-
x0
)
<
grabbable_width
)
part
=
ON_VERTICAL_BORDER
;
}
else
if
(
!
WINDOW_RIGHTMOST_P
(
w
)
&&
abs
(
*
x
-
x1
)
<
ux
/
2
)
else
if
(
!
WINDOW_RIGHTMOST_P
(
w
)
&&
abs
(
*
x
-
x1
)
<
grabbable_width
)
part
=
ON_VERTICAL_BORDER
;
}
/* Outside anything interesting? */
...
...
@@ -604,7 +607,7 @@ coordinates_in_window (w, x, y)
if
(
!
w
->
pseudo_window_p
&&
!
FRAME_HAS_VERTICAL_SCROLL_BARS
(
f
)
&&
!
WINDOW_RIGHTMOST_P
(
w
)
&&
(
abs
(
*
x
-
right_x
-
flags_area_width
)
<
ux
/
2
))
&&
(
abs
(
*
x
-
right_x
-
flags_area_width
)
<
grabbable_width
))
{
part
=
ON_VERTICAL_BORDER
;
}
...
...
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