all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: Re: GTK pixmap background support?
Date: 18 Aug 2003 15:42:57 +0900	[thread overview]
Message-ID: <buosmnzbh5a.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <8F1738F1-CE74-11D7-BA9D-00039363E640@swipnet.se>

"Jan D." <jan.h.d@swipnet.se> writes:
> I have no solution to this.  I disabled setting of a background pixmap
> by GTK themes because of the problems you are seeing.  I suspect you
> need to look at the GTK (or rather GDK) code to see exactly what it
> is doing, and how Emacs can work with it.
> 
> In general you set a background pixmap with styles.  If you look at
> xg_create_frame_widgets (near the end) in gtkutil.c, you can see how
> it is disabled.  By setting bg_pixmap in a GtkStyle to a suitable
> GdkPixmap, and the apply the style to the widget, you can set a
> background pixmap for the GTK widget.

Hmmm, I suppose I ought to look at what libvte does, since it also
allows background pixmaps.

My workaround of simply never using XClearArea works reasonably well,
but there's occasionally a bit of flickering for large area scrolls
(though I do set the gtk bg color to something `compatible' with the
pixmap to reduce it as much as possible).

-Miles
-- 
Fast, small, soon; pick any 2.

      reply	other threads:[~2003-08-18  6:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 11:04 GTK pixmap background support? Miles Bader
2003-08-14 16:30 ` Jan D.
2003-08-18  6:42   ` Miles Bader [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

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

  git send-email \
    --in-reply-to=buosmnzbh5a.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.