Don't let window-system-default-frame-alist override parameters specified manually.
authorKaroly Lorentey <lorentey@elte.hu>
Fri, 22 Jul 2005 03:24:10 +0000 (03:24 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Fri, 22 Jul 2005 03:24:10 +0000 (03:24 +0000)
* lisp/frame.el (make-frame): Append window-system-default-frame-alist to
  parameters before calling frame-creation-function.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-389

lisp/frame.el

index 355486d..0f64a36 100644 (file)
@@ -667,9 +667,7 @@ setup is for focus to follow the pointer."
     (unless frame-creation-function
       (error "Don't know how to create a frame on window system %s" w))
     (run-hooks 'before-make-frame-hook)
-    (setq frame (funcall frame-creation-function parameters))
-    (modify-frame-parameters frame
-                            (cdr (assq w window-system-default-frame-alist)))
+    (setq frame (funcall frame-creation-function (append parameters (cdr (assq w window-system-default-frame-alist)))))
     (run-hook-with-args 'after-make-frame-functions frame)
     frame))