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
a8f116e7
Commit
a8f116e7
authored
Feb 09, 2006
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle_one_xevent: Must note mouse movement even for nil frames for GTK,
in that case it is the tool bar.
parent
2ccc6e66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/xterm.c
src/xterm.c
+11
-0
No files found.
src/xterm.c
View file @
a8f116e7
...
...
@@ -6495,6 +6495,12 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
so update things that depend on mouse position. */
if (f && !f->output_data.x->hourglass_p)
note_mouse_movement (f, &event.xmotion);
#ifdef USE_GTK
/* We may get an EnterNotify on the buttons in the toolbar. In that
case we moved out of any highlighted area and need to note this. */
if (!f && last_mouse_glyph_frame)
note_mouse_movement (last_mouse_glyph_frame, &event);
#endif
goto OTHER;
case FocusIn:
...
...
@@ -6522,6 +6528,11 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
if (any_help_event_p)
do_help = -1;
}
#ifdef USE_GTK
/* See comment in EnterNotify above */
else if (last_mouse_glyph_frame)
note_mouse_movement (last_mouse_glyph_frame, &event);
#endif
goto OTHER;
case FocusOut:
...
...
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