aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2008-02-07 14:08:56 +0000
committerJan Djärv2008-02-07 14:08:56 +0000
commit1540a61a8ba40d87c63d1a33959940a312e0673d (patch)
tree7b77f9fc14670bf14dcd9f20753c139c2183376e /src
parent2532f20ce7c6d57c386143e38479433780009665 (diff)
downloademacs-1540a61a8ba40d87c63d1a33959940a312e0673d.tar.gz
emacs-1540a61a8ba40d87c63d1a33959940a312e0673d.zip
(USAGE3): Add --parent-id
(standard_args): Ditto.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog30
-rw-r--r--src/emacs.c2
2 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6a8c03e80da..56d9913aed5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,33 @@
12008-02-07 Timo Savola <timo.savola@iki.fi>
2
3 * xterm.c (x_detect_focus_change): Handle embed client message.
4 (handle_one_xevent): Ditto.
5 (handle_one_xevent): If embedded and we get a button press/release,
6 request focus.
7 (xembed_set_info, xembed_send_message): New functions.
8 (x_make_frame_visible): Call xembed_set_info if embedded.
9 (x_make_frame_invisible): Call xembed_set_info if embedded.
10 (x_term_init): Initialize Xatom_XEMBED.
11 (x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also.
12 (x_iconify_frame): Ditto.
13
14 * xterm.h (struct x_display_info): Add AtomXatom_XEMBED.
15 (enum xembed_info, enum xerm srmbed_message, enum xembed_focus)
16 (enum xembed_modifier, enum xembed_accelerator): New.
17 (xembed_set_info, xembed_send_message): Declare.
18 (FRAME_X_EMBEDDED_P): New.
19
20 * gtkutil.c (xg_create_frame_widgets): If frame is embedded, call
21 gtk_plug_new.
22
23 * xfns.c (Fx_create_frame): Do not override the explicitly set parent
24 window ID of a frame.
25 (x_window): Reparent frame if embedded.
26 (Fx_create_frame): Don't set border width if embedded.
27
28 * emacs.c (USAGE3): Add --parent-id
29 (standard_args): Ditto.
30
12008-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 312008-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 32
3 * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". 33 * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
diff --git a/src/emacs.c b/src/emacs.c
index 50230b653d2..6a2479fc37a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -326,6 +326,7 @@ Display options:\n\
326--title, -T TITLE title for initial Emacs frame\n\ 326--title, -T TITLE title for initial Emacs frame\n\
327--vertical-scroll-bars, -vb enable vertical scroll bars\n\ 327--vertical-scroll-bars, -vb enable vertical scroll bars\n\
328--xrm XRESOURCES set additional X resources\n\ 328--xrm XRESOURCES set additional X resources\n\
329--parent-id XID set parent window\n\
329--help display this help and exit\n\ 330--help display this help and exit\n\
330--version output version information and exit\n\ 331--version output version information and exit\n\
331\n" 332\n"
@@ -1867,6 +1868,7 @@ struct standard_args standard_args[] =
1867 { "-title", 0, 10, 1 }, 1868 { "-title", 0, 10, 1 },
1868 { "-name", "--name", 10, 1 }, 1869 { "-name", "--name", 10, 1 },
1869 { "-xrm", "--xrm", 10, 1 }, 1870 { "-xrm", "--xrm", 10, 1 },
1871 { "-parent-id", "--parent-id", 10, 1 },
1870 { "-r", "--reverse-video", 5, 0 }, 1872 { "-r", "--reverse-video", 5, 0 },
1871 { "-rv", 0, 5, 0 }, 1873 { "-rv", 0, 5, 0 },
1872 { "-reverse", 0, 5, 0 }, 1874 { "-reverse", 0, 5, 0 },