[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting fai
From: |
CHENG Gao |
Subject: |
bug#22298: 25.1.50; Enabling tool-bar-mode caused frame size setting failure |
Date: |
Mon, 11 Jan 2016 20:03:24 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) |
,----
| Here, Emacs use its standard frame size whereas it should use the newly
| specified size (155x38).
`----
You are right.
,----
| (when window-system
| (set-frame-position (selected-frame) 0 0)
| (set-frame-size (selected-frame) 156 41 nil))
|
| (sleep-for 3)
|
| (when window-system
| (tool-bar-mode nil))
`----
I added sleep-for to check startup process, and I can see frame size is
resized correctly, and then shrink back by tool-bar-mode. So
tool-bar-mode does not use newly set size but standard frame size.