=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, QXembed is not the implementation of XEMBED spec v2 AFAIK...(because v2 was= =20 written after QXEmbed IIRC) and v2 is not scheduled to be implemented apparently...=20 this is sad, this code is ugly and buggy as hell and more and more apps in = KDE=20 relies on it. Mik Le Thursday 21 November 2002 01:12, Havoc Pennington a =E9crit : > Hi, > > Have Matthias and Owen weighed in on this issue? Shouldn't it be > covered in the XEMBED spec if the host app needs to take special > action? > > Havoc > > On Wed, Nov 20, 2002 at 03:24:33PM -0800, Charles Samuels wrote: > > I see. > > > > But why is it necessary to have a mouse grab, specifically, can't you s= et > > and release focus without a grab? > > > > (P.S., I worked around it by doing an X ungrab call in the mouse click > > handler) > > > > On Wednesday 20 November 2002 02:46 pm, Koos Vriezen wrote: > > > Hi, > > > > > > I don't have write access on kde-core-devel but I added the mouse > > > grabbing stuff. It was added so that QXEmbed is notified that there w= as > > > a mouse click on the embedded application and set the focus > > > accordantly. Before the patch, the host app was unaware of this. It > > > resulted in khtml with a Java applet inside a HTML page, both having a > > > text box, that both text boxes had blinking cursors. It was then > > > impossible to type text in the Java text box. > > > I did test it with other apps using QXEmbed like kicker and > > > nspluginviewer. Didn't find any problems. Patch was also discussed on > > > kfm-devel. > > > I don't have a workaround for you, but now the QXEmbed widget is aware > > > of mouse clicks of the embedded app which it didn't have before. (May= be > > > override QXEmbed::x11Event(..) and check ButtonPress/ButtonRelease?) > > > > > > Regards, > > > > > > Koos Vriezen =2D --=20 Mickael Marchand, marchand@kde.org, marchand@freenux.org KVim maintainer, http://freehackers.org/kvim "Leading Vim to the K Desktop Environment !" =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE93CkqyOYzc4nQ8j0RAkS9AKCOx2ONeXPgbsJA0wiWynRR+KMigACgiVmw yidZwsY/NAf+NO+h7F2Vpaw=3D =3DmIRY =2D----END PGP SIGNATURE-----