Re: [gtk-list] Re: REFCOUNTING and Pixmaps with XEvents
- From: Tim Janik <Tim Janik Hamburg Netsurf DE>
- To: Gtk+ Mailing List <gtk-list redhat com>
- cc: Owen Taylor <owt1 cornell edu>, Marius Vollmer <mvo zagadka ping de>
- Subject: Re: [gtk-list] Re: REFCOUNTING and Pixmaps with XEvents
- Date: Thu, 18 Dec 1997 23:00:05 +0100 (CET)
On Thu, 18 Dec 1997, Owen Taylor wrote:
>
> Tim Janik <timj@psynet.net> writes:
>
> > [XCopyArea:]
> > If regions of the source rectangle are obscured and have not
> > been retained in backing store or if regions outside the
> > boundaries of the source drawable are specified, those
> > regions are not copied. Instead, the following occurs on
> > all corresponding destination regions that are either visi-
> > ble or are retained in backing store. If the destination is
> > a window with a background other than None, corresponding
> ^^^^^^^^^
> > regions of the destination are tiled with that background
> > (with plane-mask of all ones and GXcopy function). Regard-
^^^^^^
> > less of tiling or whether the destination is a window or a
^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
> > pixmap, if graphics-exposures is True, then GraphicsExpose
^^^^^^
hm, i think this states otherwise.
you can copy from a pixmap to a pixmap, or even a window to a pixmap,
and in fact this can cause GraphicsExpose events.
> > events for all corresponding destination regions are gener-
> ^^^^^^^^^^^
> > ated.
> >
> > so in fact, pixmaps *can* receive XEvents.
>
> GraphicsExpose events are only generated when the destination
> is a window, and they are generated for the destination
> drawable, not the source drawable.
>
> So I think we are OK,
> Owen
>
so i think we aren't...
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]