[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTK pixmap background support?
From: |
Miles Bader |
Subject: |
Re: GTK pixmap background support? |
Date: |
18 Aug 2003 15:42:57 +0900 |
"Jan D." <address@hidden> 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.