unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56309: 29.0.50; emacsclient's --frame-parameters option ignored when -t
@ 2022-06-30  0:06 Sean Whitton
  2022-06-30  5:53 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Whitton @ 2022-06-30  0:06 UTC (permalink / raw)
  To: 56309

When server-process-filter calls server-create-dumb-terminal-frame and
server-create-window-system-frame it passes along frame parameters
supplied on the emacsclient command line, but it doesn't pass these to
server-create-tty-frame.

I'd like to suggest:

diff --git a/lisp/server.el b/lisp/server.el
index 8f47a99a31..a06f2f952f 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1314,7 +1314,8 @@ server-process-filter
 						       frame-parameters))
 		   ;; When resuming on a tty, tty-name is nil.
 		   (tty-name
-		    (server-create-tty-frame tty-name tty-type proc))
+		    (server-create-tty-frame tty-name tty-type proc
+                                             frame-parameters))
 
                    ;; If there won't be a current frame to use, fall
                    ;; back to trying to create a new one.


-- 
Sean Whitton





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-01  0:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  0:06 bug#56309: 29.0.50; emacsclient's --frame-parameters option ignored when -t Sean Whitton
2022-06-30  5:53 ` Eli Zaretskii
2022-06-30 10:11   ` Lars Ingebrigtsen
2022-07-01  0:05     ` Sean Whitton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).