Re: REFCOUNTING and Pixmaps with XEvents




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
> 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]