diff options
| author | Chong Yidong | 2010-12-20 19:11:30 +0800 |
|---|---|---|
| committer | Chong Yidong | 2010-12-20 19:11:30 +0800 |
| commit | f13183cf1970a94ec220000b0d0f20868df6edbc (patch) | |
| tree | 746ba9256d333667ae00b9547332db35e7e5fd27 /src | |
| parent | 778ca437ded2a5e176bade36419bf58ec3db151c (diff) | |
| download | emacs-f13183cf1970a94ec220000b0d0f20868df6edbc.tar.gz emacs-f13183cf1970a94ec220000b0d0f20868df6edbc.zip | |
* src/frame.c (focus_follows_mouse): Default to 0 (Bug#7269).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/frame.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a6ee107422c..3dabc0703ac 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2010-12-20 Chong Yidong <cyd@stupidchicken.com> | 1 | 2010-12-20 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * frame.c (focus_follows_mouse): Default to 0 (Bug#7269). | ||
| 4 | |||
| 5 | 2010-12-20 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 3 | * keyboard.c (Vtool_bar_separator_image_expression): New variable. | 7 | * keyboard.c (Vtool_bar_separator_image_expression): New variable. |
| 4 | (parse_tool_bar_item): Use it to obtain image separators for | 8 | (parse_tool_bar_item): Use it to obtain image separators for |
| 5 | displays not using native tool-bar separators. | 9 | displays not using native tool-bar separators. |
diff --git a/src/frame.c b/src/frame.c index 6cf46f1a0ba..00a65d630da 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4602,15 +4602,7 @@ This variable is local to the current terminal and cannot be buffer-local. */); | |||
| 4602 | You should set this variable to tell Emacs how your window manager | 4602 | You should set this variable to tell Emacs how your window manager |
| 4603 | handles focus, since there is no way in general for Emacs to find out | 4603 | handles focus, since there is no way in general for Emacs to find out |
| 4604 | automatically. See also `mouse-autoselect-window'. */); | 4604 | automatically. See also `mouse-autoselect-window'. */); |
| 4605 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 4606 | #if defined(HAVE_NTGUI) || defined(HAVE_NS) | ||
| 4607 | focus_follows_mouse = 0; | ||
| 4608 | #else | ||
| 4609 | focus_follows_mouse = 1; | ||
| 4610 | #endif | ||
| 4611 | #else | ||
| 4612 | focus_follows_mouse = 0; | 4605 | focus_follows_mouse = 0; |
| 4613 | #endif | ||
| 4614 | 4606 | ||
| 4615 | staticpro (&Vframe_list); | 4607 | staticpro (&Vframe_list); |
| 4616 | 4608 | ||