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
aad0f6ab
Commit
aad0f6ab
authored
Nov 29, 2000
by
Gerd Moellmann
Browse files
(XTmouse_position) [USE_X_TOOLKIT]: When the mouse
is over the menu bar widget, say it's not on the frame.
parent
ef128c78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/xterm.c
src/xterm.c
+9
-0
No files found.
src/xterm.c
View file @
aad0f6ab
...
...
@@ -7494,6 +7494,15 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time)
/* Is win one of our frames? */
f1 = x_any_window_to_frame (FRAME_X_DISPLAY_INFO (*fp), win);
#ifdef USE_X_TOOLKIT
/* If we end up with the menu bar window, say it's not
on the frame. */
if (f1 != NULL
&& f1->output_data.x->menubar_widget
&& win == XtWindow (f1->output_data.x->menubar_widget))
f1 = NULL;
#endif /* USE_X_TOOLKIT */
}
if (x_had_errors_p (FRAME_X_DISPLAY (*fp)))
...
...
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