[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
modify-frame-parameters with floating point offsets
From: |
Robert Pluim |
Subject: |
modify-frame-parameters with floating point offsets |
Date: |
Tue, 03 Apr 2018 18:18:05 +0200 |
Robert Pluim <address@hidden> writes:
>> Probably a problem with calculating the decorations. Does
>> (frame-geometry) return "reasonable" values for your frame?
OK, is this normal?
emacs -Q
(modify-frame-parameters nil '((left . 0.0)))
(frame-geometry)
=> ((outer-position -20 . 188) (outer-size 1208 . 1226)
(external-border-size 20 . 20) (outer-border-width . 0)
(title-bar-size 0 . 70) (menu-bar-external . t) (menu-bar-size 1168
. 24) (tool-bar-external . t) (tool-bar-position . top) (tool-bar-size
1168 . 42) (internal-border-width . 0))
The frame is visually flush with the left edge of the screen, but
frame-geometry claims itʼs at -20 ?
For comparison, after toggle-frame-fullscreen
((outer-position 0 . 0) (outer-size 3840 . 2160) (external-border-size
0 . 0) (outer-border-width . 0) (title-bar-size 0 . 0)
(menu-bar-external . t) (menu-bar-size 3840 . 24) (tool-bar-external
. t) (tool-bar-position . top) (tool-bar-size 3840 . 42)
(internal-border-width . 0))
So is this the window manager lying to us? This is with XWayland, Iʼll
see if I can test under vanilla X.
Robert
- modify-frame-parameters with floating point offsets,
Robert Pluim <=