emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modify-frame-parameters with floating point offsets


From: Robert Pluim
Subject: Re: modify-frame-parameters with floating point offsets
Date: Wed, 04 Apr 2018 10:54:23 +0200

martin rudalics <address@hidden> writes:

>> 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 ?
>
> Is the left external border clearly visible?

No, the left external border is very small. Itʼs certainly not 20
pixels wide.

>> 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.
>
> A fullscreen frame usually doesn't have external borders.  Maximized
> frames do but they are off-screen.  So these values seem normal to me.

OK.

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]