How to get GdkNativeWindow from GdkWindow? (need during iteration of display, using gdk)

2011-03-13 Thread Mike Cookson
Hi all. I'm developing window docker - tool, allowing to turn any toplevel window into panel. It should check all toplevel windows in default display for properties (name, role, class, type, probably something else) and create panel on the same screen, which should grab window into GtkSocket wid

Re: How to get GdkNativeWindow from GdkWindow? (need during iteration of display, using gdk)

2011-03-13 Thread Mike Cookson
Not sure, is it correct way... i found gdk_x11_drawable_get_xid (), which takes GdkDrawable pointer and returns XID. I guess, it is same as GdkNativeWindow, right? But even so, GdkNativeWindow is not associated with only one windowing system (HWND on m$ win), and so, it would be nice, to have m