-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/19/10 20:29, Tristan Schmelcher wrote: > Actually, after debugging and looking at the code, it seems that > gdk_window_foreign_new() first looks up if there is already a GdkWindow > for that XID and re-uses it if so (gdk/x11/gdkwindow-x11.c:1008). So I > don't think this approach will work. :(
You must be doing something wrong since you should get one xid per windowed plugin instance. I've been using this method for years in both the mplayerplug-in plugin and the gecko-mediaplayer plugin. Take a look at either of those projects source code. I'm sure there is something there that will help you. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktWjNQACgkQ6w2kMH0L1dG7vACcDZNHS0dTEbXCTHD0IesjVmeF BCsAn3oewKsZFv/Dv6uV3vfKgR6k7iJl =uFlq -----END PGP SIGNATURE----- _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list