]> git.eshelyaron.com Git - emacs.git/commitdiff
(frame-notice-user-settings): Distinguish explicit parent-id
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 14 Feb 2008 21:16:36 +0000 (21:16 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 14 Feb 2008 21:16:36 +0000 (21:16 +0000)
from the auto-generated one.

lisp/ChangeLog
lisp/frame.el

index 11ce4304280d805a2ecd8c6c8e4188a7956fb1d9..ce0d100fc53c1081c1ea5c3a8c06cca77970e105 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
+       from the auto-generated one.
+
 2008-02-14  Glenn Morris  <rgm@gnu.org>
 
        * mail/rmail-spam-filter.el (rmail-spam-filter): Let-bind
index 92b102a087885341f43200f213385a0747a5fe88..34a46dfa634b00a4ac61691d853bcad31fe8d1f8 100644 (file)
@@ -417,6 +417,9 @@ there (in decreasing order of priority)."
             ;; Get rid of `name' unless it was specified explicitly before.
            (or (assq 'name frame-initial-frame-alist)
                (setq parms (delq (assq 'name parms) parms)))
+           ;; An explicit parent-id is a request to XEmbed the frame.
+           (or (assq 'parent-id frame-initial-frame-alist)
+                (setq parms (delq (assq 'parent-id parms) parms)))
 
            (setq parms (append initial-frame-alist
                                window-system-frame-alist