diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index e2f356db7b0..4b34d6344ac 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | 2 | ||
| 3 | Copyright (C) 1989, 1993-2011 Free Software Foundation, Inc. | 3 | Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -8981,6 +8981,18 @@ x_lower_frame (struct frame *f) | |||
| 8981 | } | 8981 | } |
| 8982 | } | 8982 | } |
| 8983 | 8983 | ||
| 8984 | /* Request focus with XEmbed */ | ||
| 8985 | |||
| 8986 | void | ||
| 8987 | xembed_request_focus (FRAME_PTR f) | ||
| 8988 | { | ||
| 8989 | /* See XEmbed Protocol Specification at | ||
| 8990 | http://freedesktop.org/wiki/Specifications/xembed-spec */ | ||
| 8991 | if (f->async_visible) | ||
| 8992 | xembed_send_message (f, CurrentTime, | ||
| 8993 | XEMBED_REQUEST_FOCUS, 0, 0, 0); | ||
| 8994 | } | ||
| 8995 | |||
| 8984 | /* Activate frame with Extended Window Manager Hints */ | 8996 | /* Activate frame with Extended Window Manager Hints */ |
| 8985 | 8997 | ||
| 8986 | void | 8998 | void |