all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Akib Azmain Turja <akib@disroot.org>
Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
Subject: Re: [C source] What is gravity and the change_gravity argument?
Date: Fri, 08 Jul 2022 21:21:10 +0800	[thread overview]
Message-ID: <87mtdj3fll.fsf@yahoo.com> (raw)
In-Reply-To: <87mtdj3fx2.fsf@disroot.org> (Akib Azmain Turja's message of "Fri, 08 Jul 2022 19:14:17 +0600")

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.



  reply	other threads:[~2022-07-08 13:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 12:40 [C source] What is gravity and the change_gravity argument? Akib Azmain Turja
2022-07-08 12:52 ` Eli Zaretskii
2022-07-08 13:06   ` Po Lu
2022-07-08 13:14   ` Akib Azmain Turja
2022-07-08 13:21     ` Po Lu [this message]
2022-07-08 13:05 ` Po Lu
2022-07-08 13:52   ` Akib Azmain Turja

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

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

  git send-email \
    --in-reply-to=87mtdj3fll.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=akib@disroot.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.