Re: [java-gnome-hackers] GTK, DisplayManager and multihead X
Brought to you by:
afcowie
From: Vreixo F. L. <met...@ya...> - 2008-05-19 10:17:12
|
> I was experimenting with multiheaded display support for > java-gnome. > For this purpose I wrote coverage for > org.gnome.gdk.DisplayManager and > org.gnome.gdk.Display. > > I ran into two problems. One may be missing understanding > on the > java-gnome internals, the other may be X/GTK related. > > 1. When requesting a list of displays from the > DisplayManager > I got the message that there is no mapping for > 'GdkDisplayX11' > in the typeMapping.properties. So just for testing I > changed > GdkDisplay=org.gnome.gdk.Display > to > GdkDisplayX11=org.gnome.gdk.Display > which seemed to work. > What would be the correct way to add this mapping? mmm, this seems to be the same problem I get with GStreamer. One thing is the API object we map (GdkDisplay) and another the concrete implementation in a given environment (GdkDisplayX11). My solution was to modify our mapping code to find a proxy of parent type if a direct mapping can't be found. But it is still experimental code, so I cannot recommend it to you. Cheers, Vreixo Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |