Re: GdkWindow ref counting
- From: Johan Bilien <jobi via ecp fr>
- To: ext Owen Taylor <otaylor redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Tim Janik <timj imendio com>
- Subject: Re: GdkWindow ref counting
- Date: Sun, 05 Nov 2006 18:05:27 +0200
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]