Re: GdkWindow ref counting

ext Owen Taylor wrote:
> Replace the gdk_window_set_events() above with the equivalent
> X code (XGetWindowAttributes/your_event_mask/XSelectInput) and also
> include StructureNotifyMask.
> 						- Owen
> (You could probably pretty safely optimize that by checking if the
> window is foreign, then if so, 
>   XSelectInput(xdisplay, window, 
>                PropertyChangeMask | StructureNotifyMask);
> but using XGetWindowAttributes() is a little more theoretically
> sound.)

Thanks Owen, this seems to fix the issue.

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