all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Tromey <tromey@peakpeak.com>
Cc: emacs-pretest-bug@gnu.org, 403@emacsbugs.donarmstrong.com
Subject: bug#403: 23.0.60; two bugs with internal-border-width
Date: Sun, 15 Jun 2008 01:54:31 -0400	[thread overview]
Message-ID: <jwviqwb6yqd.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <m3r6b21hht.fsf@fleche.redhat.com> (Tom Tromey's message of "Thu,  12 Jun 2008 15:16:30 -0600")

> Evalling this form yields 0:

> (let ((f (make-frame '((internal-border-width . 20)))))
>   (prog1
>       (frame-parameter f 'internal-border-width)
>     (delete-frame f)))

> ... I expected it to yield 20.

Apparently it's because of

  /* GTK does not set any border, and they look bad with GTK.  */
  f->border_width = 0;
  f->internal_border_width = 0;

in gtkutil.c:xg_create_frame_widgets.  I think I've fixed it now.

> Also, once a frame is displayed, if I modify internal-border-width
> (changing it from 0 to 20, say), it can leave some garbage on the
> screen, where the new border should be.  recenter fixes this.

Sorry, I don't know how to even begin debugging this.


        Stefan






  reply	other threads:[~2008-06-15  5:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 21:16 bug#403: 23.0.60; two bugs with internal-border-width Tom Tromey
2008-06-15  5:54 ` Stefan Monnier [this message]
2008-06-15 15:34   ` Tom Tromey
2008-06-16  2:20     ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2008-08-07 17:19 Chong Yidong
2011-09-11  5:31 ` Lars Magne Ingebrigtsen

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=jwviqwb6yqd.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=403@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=tromey@peakpeak.com \
    /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.