Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
279:c20b2fb5bb0a | 280:7df0dd720c89 |
---|---|
531 #else | 531 #else |
532 old_loop = Vcommand_loop; | 532 old_loop = Vcommand_loop; |
533 while (EQ (Vcommand_loop, old_loop)) | 533 while (EQ (Vcommand_loop, old_loop)) |
534 #endif /* LISP_COMMAND_LOOP */ | 534 #endif /* LISP_COMMAND_LOOP */ |
535 { | 535 { |
536 /* If focus_follows_mouse, make sure the frame with window manager | |
537 focus is selected. */ | |
538 { extern void investigate_frame_change (void); | |
539 extern int focus_follows_mouse; | |
540 | |
541 if (focus_follows_mouse) | |
542 investigate_frame_change (); | |
543 } | |
544 | |
536 /* Make sure the current window's buffer is selected. */ | 545 /* Make sure the current window's buffer is selected. */ |
537 { | 546 { |
538 Lisp_Object selected_window = Fselected_window (Qnil); | 547 Lisp_Object selected_window = Fselected_window (Qnil); |
539 | 548 |
540 if (!NILP (selected_window) && | 549 if (!NILP (selected_window) && |