aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKenichi Handa2012-01-21 20:36:42 +0900
committerKenichi Handa2012-01-21 20:36:42 +0900
commit678fb7066698ebfe3aecba722294025ed26da01b (patch)
tree951ac3055141d950974051d13c10e5d7c6a98e31 /src/xterm.c
parent71784361eb381ec2b12bd8283724a7addec49079 (diff)
parent959ad23fb9020a121c4520946835e9f0aeb9bcb2 (diff)
downloademacs-678fb7066698ebfe3aecba722294025ed26da01b.tar.gz
emacs-678fb7066698ebfe3aecba722294025ed26da01b.zip
merge trunk
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c14
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
3Copyright (C) 1989, 1993-2011 Free Software Foundation, Inc. 3Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This 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
8986void
8987xembed_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
8986void 8998void