Re: [jirka 5z com: Re: KDE 2.0 impressions]



James Henstridge <james daa com au> writes: 
> Would it be possible to add support for this in gnome-libs through an
> emission hook on the realise signal for the widget?  This could be done
> without adding a new API by setting up this hook inside
> gnome_init.  Alternatively, it could be done inside of gtk in a similar
> fashion.  This would instantly give support for all gnome or gtk
> applications.
> 
> The other option would be to do it through a gtk module, which avoids
> some of the symbol resolution slowdown caused by LD_PRELOAD and requires
> no modifications to gtk or gnome-libs. 
> 

Why use a module - for the short-term hack we can use LD_PRELOAD which
works with any Xlib app, for the long term we just add if
(getenv(DESKTOP_LAUNCH_ID)) set_property() to gdk_window_new().

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]