Mercurial > emacs
comparison src/msdos.c @ 91053:a0e466c4d599
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 887-889)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 15 Oct 2007 05:03:21 +0000 |
parents | bdb3fe0ba9fa fef91478db10 |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91052:72adb6e72b67 | 91053:a0e466c4d599 |
---|---|
3391 selected now, and the last mouse movement event was | 3391 selected now, and the last mouse movement event was |
3392 not in it. A minibuffer window will be selected iff | 3392 not in it. A minibuffer window will be selected iff |
3393 it is active. */ | 3393 it is active. */ |
3394 if (WINDOWP (mouse_window) | 3394 if (WINDOWP (mouse_window) |
3395 && !EQ (mouse_window, last_mouse_window) | 3395 && !EQ (mouse_window, last_mouse_window) |
3396 && !EQ (window, selected_window) | 3396 && !EQ (mouse_window, selected_window)) |
3397 /* For click-to-focus window managers | |
3398 create event iff we don't leave the | |
3399 selected frame. */ | |
3400 && (focus_follows_mouse | |
3401 || (EQ (XWINDOW (window)->frame, | |
3402 XWINDOW (selected_window)->frame)))) | |
3403 { | 3397 { |
3404 event.kind = SELECT_WINDOW_EVENT; | 3398 event.kind = SELECT_WINDOW_EVENT; |
3405 event.frame_or_window = mouse_window; | 3399 event.frame_or_window = mouse_window; |
3406 event.arg = Qnil; | 3400 event.arg = Qnil; |
3407 event.timestamp = event_timestamp (); | 3401 event.timestamp = event_timestamp (); |