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
bade65fd
Commit
bade65fd
authored
Sep 16, 1996
by
Richard M. Stallman
Browse files
(note_mouse_highlight): Test last_overlay_modified field.
parent
3cd21523
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/w32term.c
src/w32term.c
+2
-1
src/xterm.c
src/xterm.c
+2
-1
No files found.
src/w32term.c
View file @
bade65fd
...
...
@@ -1350,7 +1350,8 @@ note_mouse_highlight (f, x, y)
if
(
WINDOWP
(
window
)
&&
portion
==
0
&&
row
>=
0
&&
column
>=
0
&&
row
<
FRAME_HEIGHT
(
f
)
&&
column
<
FRAME_WIDTH
(
f
)
&&
EQ
(
w
->
window_end_valid
,
w
->
buffer
)
&&
w
->
last_modified
==
BUF_MODIFF
(
XBUFFER
(
w
->
buffer
)))
&&
w
->
last_modified
==
BUF_MODIFF
(
XBUFFER
(
w
->
buffer
))
&&
w
->
last_overlay_modified
==
BUF_OVERLAY_MODIFF
(
XBUFFER
(
w
->
buffer
)))
{
int
*
ptr
=
FRAME_CURRENT_GLYPHS
(
f
)
->
charstarts
[
row
];
int
i
,
pos
;
...
...
src/xterm.c
View file @
bade65fd
...
...
@@ -1913,7 +1913,8 @@ note_mouse_highlight (f, x, y)
if
(
WINDOWP
(
window
)
&&
portion
==
0
&&
row
>=
0
&&
column
>=
0
&&
row
<
FRAME_HEIGHT
(
f
)
&&
column
<
FRAME_WIDTH
(
f
)
&&
EQ
(
w
->
window_end_valid
,
w
->
buffer
)
&& w->last_modified == BUF_MODIFF (XBUFFER (w->buffer)))
&&
w
->
last_modified
==
BUF_MODIFF
(
XBUFFER
(
w
->
buffer
))
&&
w
->
last_overlay_modified
==
BUF_OVERLAY_MODIFF
(
XBUFFER
(
w
->
buffer
)))
{
int
*
ptr
=
FRAME_CURRENT_GLYPHS
(
f
)
->
charstarts
[
row
];
int
i
,
pos
;
...
...
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