On Wednesday 10 December 2008 11:34:51 Bastien ROUCARIES wrote:
> Le lundi 8 décembre 2008, Leon Bottou a écrit :
> > On Sun, December 7, 2008 4:37 pm, Bastien ROUCARIES wrote:
> > > Strange it is an hinsenbug, turning on debugging and the bug desapear :-(
> > 
> > If you turned on debugging using the latest cvs,
> > be aware I performed a blind change on the basis of the earlier bug reports.
> > But does the bug reappear if you turn off debugging?
> 
> No it does not reappear, seems you fixed the bug :-)
> Could you send a changelog?


Changelog: no longer assume the browser passes the correct information
in the NPSetWindowCallbackStruct in NPP_SetWindow.

================================
   if (new_window)
     {
-      NPSetWindowCallbackStruct *cbs
-        = (NPSetWindowCallbackStruct *) win_str->ws_info;
-      Display * displ=cbs->display;
+      Display *displ = 0;
+      if (NPN_GetValue(np_inst, NPNVxDisplay, &displ) != NPERR_NO_ERROR)
+        displ = ((NPSetWindowCallbackStruct *)(win_str->ws_info))->display;
       if (!IsConnectionOK(FALSE))
         return NPERR_GENERIC_ERROR;
-------------------------------



I am not convinced this was the whole story.
Does it work in konqueror as well?

- L.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to