[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [C source] What is gravity and the change_gravity argument?
From: |
Po Lu |
Subject: |
Re: [C source] What is gravity and the change_gravity argument? |
Date: |
Fri, 08 Jul 2022 21:21:10 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Akib Azmain Turja <akib@disroot.org> writes:
> If I understand correctly, the following happen when gravity is
> CenterGravity:
>
> +----------+ +--------+
> | some | | some | +------+
> | contents | -> resize -> |contents| -> resize -> |ontent|
> | here | | here | +------+
> +----------+ +--------+
You're thinking of bit gravity. Emacs sets the window gravity and
leaves the bit gravity alone.
> But I can't still understand why Emacs needs this. Emacs handles
> frame resizing, so setting gravity seems useless.
I explained more in my other reply to you.