Switch back to using XftDraw so that we take advantage of the

Fri Aug  2 00:43:15 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
	gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c
	gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c:
	Switch back to using XftDraw so that we take
	advantage of the draw-to-non-RENDER capabilities
	of Xft2.

	* demos/gtk-demo/changedisplay.c (query_for_toplevel):
	Fix the case where the user clicks on the "click on
	a window popup".
This commit is contained in:
Owen Taylor
2002-08-02 04:57:53 +00:00
committed by Owen Taylor
parent 63489392e6
commit d5f0576cf4
14 changed files with 189 additions and 48 deletions

View File

@ -820,8 +820,8 @@ _gdk_windowing_window_destroy (GdkWindow *window,
{
GdkDrawableImplX11 *draw_impl = GDK_DRAWABLE_IMPL_X11 (private->impl);
if (draw_impl->picture)
XRenderFreePicture (GDK_WINDOW_XDISPLAY (window), draw_impl->picture);
if (draw_impl->xft_draw)
XftDrawDestroy (draw_impl->xft_draw);
}
#endif /* HAVE_XFT */