Re: XtDisplayToApplicationContext fails with Error: Couldn't find per display information

2009-02-20 Thread Tristan Schmelcher
Eirik's take on things is how I recall hearing it is designed. The Firefox source in gtk2xtbin.c seems to be related to this. It's sounding from this discussion like this must be a bug in how Firefox pretends to be an Xt app, so I probably can't do much about it. I've worked around the problem

Re: XtDisplayToApplicationContext fails with Error: Couldn't find per display information

2009-02-04 Thread Eirik Byrkjeflot Anonsen
Glynn Clements gl...@gclements.plus.com writes: Tristan Schmelcher wrote: Hello all. Sorry if this is not the right place to send this, but I'm developing a plugin for Firefox on Linux and I've run up against a roadblock. In my plugin I'm being passed a pointer to an X Display struct (in

Re: XtDisplayToApplicationContext fails with Error: Couldn't find per display information

2009-02-03 Thread Dan Nicholson
On Thu, Jan 29, 2009 at 5:08 PM, Tristan Schmelcher tschmelc...@google.com wrote: Hello all. Sorry if this is not the right place to send this, but I'm developing a plugin for Firefox on Linux and I've run up against a roadblock. In my plugin I'm being passed a pointer to an X Display struct

Re: XtDisplayToApplicationContext fails with Error: Couldn't find per display information

2009-02-03 Thread Tristan Schmelcher
I've already verified that the display is not NULL. I'll try the experiment you suggested though. Thanks. 2009/2/3 Dan Nicholson dbn.li...@gmail.com On Thu, Jan 29, 2009 at 5:08 PM, Tristan Schmelcher tschmelc...@google.com wrote: Hello all. Sorry if this is not the right place to send this,

Re: XtDisplayToApplicationContext fails with Error: Couldn't find per display information

2009-02-03 Thread Glynn Clements
Tristan Schmelcher wrote: Hello all. Sorry if this is not the right place to send this, but I'm developing a plugin for Firefox on Linux and I've run up against a roadblock. In my plugin I'm being passed a pointer to an X Display struct (in NPP_SetWindow, for those of you that know NPAPI)