[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    XtDisplayToApplicationContext fails with "Error: Couldn't find per
From:       Tristan Schmelcher <tschmelcher () google ! com>
Date:       2009-01-30 1:08:40
Message-ID: 5323d74a0901291708o7e27972ehee9993c0bb7b4fec () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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) and I'm calling
XtDisplayToApplicationContext on it to get an app context to use in various
Xt calls. Now on most systems this works fine--e.g., Ubuntu Dapper 32-bit
with FF2 and Intrepid 32-bit with FF3 both work flawlessly. However, when I
build a 64-bit version and try it on Ubuntu Hardy 64-bit with FF3, it
doesn't work. When it enters XtDisplayToApplicationContext, I get "Error:
Couldn't find per display information" on the console and the program exits.

Does anyone know what could be causing this function to fail? I searched the
web but without luck.

Thanks.

[Attachment #5 (text/html)]

Hello all. Sorry if this is not the right place to send this, but I&#39;m d=
eveloping a plugin for Firefox on Linux and I&#39;ve run up against a roadb=
lock. In my plugin I&#39;m being passed a pointer to an X &quot;Display&quo=
t; struct (in NPP_SetWindow, for those of you that know NPAPI) and I&#39;m =
calling XtDisplayToApplicationContext on it to get an app context to use in=
 various Xt calls. Now on most systems this works fine--e.g., Ubuntu Dapper=
 32-bit with FF2 and Intrepid 32-bit with FF3 both work flawlessly. However=
, when I build a 64-bit version and try it on Ubuntu Hardy 64-bit with FF3,=
 it doesn&#39;t work. When it enters XtDisplayToApplicationContext, I get &=
quot;Error: Couldn&#39;t find per display information&quot; on the console =
and the program exits.<br>
<br>Does anyone know what could be causing this function to fail? I searche=
d the web but without luck.<br><br>Thanks.<br>


_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic