unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Can someone explain this code in xterm.c?
Date: Tue, 29 Apr 2003 15:29:09 -0400	[thread overview]
Message-ID: <E19Aamr-0003Yv-00@fencepost.gnu.org> (raw)
In-Reply-To: <5x1xzmjmjf.fsf@kfs2.cua.dk> (storm@cua.dk)

    > It appears to me that vertical_scroll_bar_extra holds the 
    > width in pixels of the scroll bar, in all cases.  Its name is
    > misleading.

    But AFAICS it is not used for that purpose -- in the cases where it is
    used (notably in CHAR_TO_PIXEL_WIDTH), it is supposed to be the width
    of the scroll bar _area_, not the actual width of the scroll bar.

We are describing the same thing in different words.

    But I would rather go over each use (there are only a few) of
    vertical_scroll_bar_extra and change them to use the proper value of
    either FRAME_SCROLL_BAR_PIXEL_WIDTH or "scroll_bar_columns *
    canonical_x_unit".

If that works, it is ok with me.

    So when is x_set_window_size_1 activated -- e.g. as the comment on
    x_set_window_size_1 suggests, when doe emacs run under X without a
    widget?

I don't know when there's no widget if using Xt or GTK,
but x_set_window_size always calls x_set_window_size_1
when not using Xt and GTK.

      reply	other threads:[~2003-04-29 19:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25  1:56 Can someone explain this code in xterm.c? Kim F. Storm
2003-04-28  4:38 ` Richard Stallman
2003-04-28 19:16   ` Alex Schroeder
2003-04-28 22:16   ` Kim F. Storm
2003-04-29 19:29     ` Richard Stallman [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E19Aamr-0003Yv-00@fencepost.gnu.org \
    --to=rms@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).