Dear all
Happy New Year !!

Mike Emmel wrote:
> On 12/29/05, Alex Lau <[EMAIL PROTECTED]> wrote:
>> Dear all
>> long time no see
>> and wonderful work with the GTK2.8!!  :)
>> I get vte and scim running on top of it displaying and inputing
>> chinese and everything.
>>
>> Since gtk is working I'm also trying out the unique with gtk and of
>> course  :)  I will try to see I can submit some upgrade on the window
>> manager but there are couple questions I would like to ask here ...
>>
>> Will unique going to be a full features wm?
>> Or back porting gnome desktop? and let gnome take care of it?
>>
> Gnome won't supply the window manager it uses the X11 window manager
> so you still need a directfb window manager.
> I'd suggest that you branch the unique window manager and make your
> own that fits your needs. I'm not sure what platform your targeting.
> You could consider  the metacity window manager
> http://ftp.gnome.org/pub/gnome/sources/metacity/2.4/
> You would need to port it to directfb.
> 
I'm new to the window manager concept, any thing I can read from?
If I'm going to port metacity do I need to extend unique first?
if I'm going to extend unique  .... do I still need metacity?
Thanks I'm a little unclear about the relationship, please forgive me.

>> Then is a more important issue to me  :)
>> I'm also trying put scim (a input method) into directfb/gtk since there
>> isn't any default wm layer for me to put in the input, I can only do
>> some kind of hack for it but that will break the directfb api or limit
>> the scim ability. However if unique is availible then we can add a
>> plugins to the input layer.
>> Then I can really run directfb app with chinese input :)
>>
> 
> There is a root window.
>  In   gdkwindow-directfb.c see  the _gdk_parent_root variable
> its set in the function _gdk_windowing_window_init
> 
> You should  get it from the public api.
> gdk_get_default_root_window
> 
> Then you need the headers right now and the following code snippet
> 
>   GdkWindowObject       *private;
>   GdkWindowImplDirectFB *impl;
> 
>   g_return_if_fail (GDK_IS_WINDOW (window));
> 
>   private = GDK_WINDOW_OBJECT (window);
>   impl = GDK_WINDOW_IMPL_DIRECTFB (private->impl);
> 
> impl->window
> 
> Is the DirectFB window.
> I did not find a exported function to get to the window but
> we can add one if needed just let me know if this suites your needs
> and you can add a function to gdkwindow-directfb.c or I can.
> 
> 
Actually I can run scim directly with gtk app on directfb now by using
gtk im module directly.
except I can't test it on console, it crash all the time :)
but in SDL it seem to be a bit more stable

Another funny thing is when I start the input panel first with directfb
then start the gtk app ( even on X or directfb ) I can get the input
panel display correctly ( pretty much ), however if I start the gtk
directfb app directly ( immodule will start the input panel if it is
not started ), the input panel will not draw correctly ... right hand
side of the panel will be corrupted.
I'm not sure exactly why :)


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to