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
06ef4a3f
Commit
06ef4a3f
authored
Apr 25, 1994
by
Karl Heuer
Browse files
(XTmouse_position, XTread_socket): Don't use last_mouse_frame if it's dead.
parent
983f76b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xterm.c
src/xterm.c
+2
-2
No files found.
src/xterm.c
View file @
06ef4a3f
...
...
@@ -2485,7 +2485,7 @@ XTmouse_position (f, bar_window, part, x, y, time)
win = root;
if (x_mouse_grabbed)
if (x_mouse_grabbed
&& FRAME_LIVE_P (last_mouse_frame)
)
{
/* If mouse was grabbed on a frame, give coords for that frame
even if the mouse is now outside it. */
...
...
@@ -3993,7 +3993,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
#ifdef HAVE_X11
case MotionNotify:
{
if (x_mouse_grabbed)
if (x_mouse_grabbed
&& FRAME_LIVE_P (last_mouse_frame)
)
f = last_mouse_frame;
else
f = x_window_to_frame (event.xmotion.window);
...
...
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