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
50fbcdcb
Commit
50fbcdcb
authored
Oct 06, 2007
by
Martin Rudalics
Browse files
(handle_one_xevent): When focus_follows_mouse is nil make
SELECT_WINDOW_EVENT only if we don't leave the selected frame.
parent
74a9b36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/xterm.c
src/xterm.c
+7
-1
No files found.
src/xterm.c
View file @
50fbcdcb
...
...
@@ -6628,7 +6628,13 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
will be selected only when it is active. */
if (WINDOWP (window)
&& !EQ (window, last_window)
&& !EQ (window, selected_window))
&& !EQ (window, selected_window)
/* For click-to-focus window managers
create event iff we don't leave the
selected frame. */
&& (focus_follows_mouse
|| (EQ (XWINDOW (window)->frame,
XWINDOW (selected_window)->frame))))
{
inev.ie.kind = SELECT_WINDOW_EVENT;
inev.ie.frame_or_window = 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