Mercurial > hg > xemacs-beta
diff src/cmdloop.c @ 280:7df0dd720c89 r21-0b38
Import from CVS: tag r21-0b38
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:32:22 +0200 |
parents | c5d627a313b1 |
children | c42ec1d1cded |
line wrap: on
line diff
--- a/src/cmdloop.c Mon Aug 13 10:31:30 2007 +0200 +++ b/src/cmdloop.c Mon Aug 13 10:32:22 2007 +0200 @@ -533,6 +533,15 @@ while (EQ (Vcommand_loop, old_loop)) #endif /* LISP_COMMAND_LOOP */ { + /* If focus_follows_mouse, make sure the frame with window manager + focus is selected. */ + { extern void investigate_frame_change (void); + extern int focus_follows_mouse; + + if (focus_follows_mouse) + investigate_frame_change (); + } + /* Make sure the current window's buffer is selected. */ { Lisp_Object selected_window = Fselected_window (Qnil);