Mercurial > emacs
changeset 83349:3d2bd2e4c7b7
Don't let window-system-default-frame-alist override parameters specified manually.
* 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
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 22 Jul 2005 03:24:10 +0000 |
parents | afade4ccd30c |
children | e7d5238afe52 |
files | lisp/frame.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/frame.el Wed Jul 13 16:15:50 2005 +0000 +++ b/lisp/frame.el Fri Jul 22 03:24:10 2005 +0000 @@ -667,9 +667,7 @@ (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))