Describe how gdk_x11_drawable_get_xid() works wrt CSW in docs

This commit is contained in:
Alexander Larsson 2009-08-31 16:16:23 +02:00
parent 3959ae91d1
commit 36809d400f

View File

@ -13,6 +13,9 @@
longer correct to assume that each window has an associated XID. longer correct to assume that each window has an associated XID.
Code that makes this assumption can sometimes be fixed by calling Code that makes this assumption can sometimes be fixed by calling
gdk_window_ensure_native() on the windows in question. gdk_window_ensure_native() on the windows in question.
Calling gdk_x11_drawable_get_xid() from the X11-specific API on a
non-native window will explicitly call gdk_window_ensure_native(),
so old code using this will continue to work.
</para> </para>
<para> <para>