unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: CHENG Gao <chenggao@royau.me>
Cc: 22298@debbugs.gnu.org
Subject: bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting failure
Date: Mon, 24 Jan 2022 14:40:46 +0100	[thread overview]
Message-ID: <87y2356yld.fsf@gnus.org> (raw)
In-Reply-To: <6BAAA567-801D-4F0C-9FBE-98C615B2257B@royau.me> (CHENG Gao's message of "Sun, 3 Jan 2016 17:13:05 +0800")

CHENG Gao <chenggao@royau.me> writes:

> ,----
> | (when window-system (set-frame-size (selected-frame) 155 38 nil)
> | 	  (set-frame-position (selected-frame) 0 0))

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Yes, en/disabling the tool bar will change the size of the frame, so you
have to en/disable it before setting the frame size.

I don't think this is a bug -- it's how Emacs has always worked, so I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2022-01-24 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03  9:13 bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting failure CHENG Gao
2016-01-10  5:58 ` bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting fai Anders Lindgren
2016-01-10  7:36   ` CHENG Gao
2016-01-10 20:58 ` bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting failure Anders Lindgren
2016-01-11 11:08   ` CHENG Gao
2016-01-11 11:30     ` CHENG Gao
2016-01-11 12:03   ` CHENG Gao
2022-01-24 13:40 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2356yld.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22298@debbugs.gnu.org \
    --cc=chenggao@royau.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).