On 3/21/06, Banlu Kemiyatorn <[EMAIL PROTECTED]> wrote:
> On 3/22/06, Quentin Mathé
> <[EMAIL PROTECTED]> wrote:
>
> > Le 21 mars 06 à 18:07, Yen-Ju Chen a écrit :
> >
[snip]
>
>  >> Do you have any preview version which we can take a look at ?
>
>  It is nothing for now just a concept. There are bits that I am
>  rethinking/rewriting. Currently it is just a library that when any GS
>  app load it as a bundle, it will turn that app into a WM. It uses
>  AppKit for decorations but I found it has a problem that if I reparent
>  a client window into an NSWindow, it will waste a lot of memory
>  since each NSWindow will allocate a framebuffer and you just have
>  to cover most part of it with the client windows. eg. from this ancient
> screenshot
>
> http://home.gna.org/garma/windowmanagercore/images/wmcore.jpg
>
>  You will notice areas that are wasted, the buffer of NSWindow behind
>  the eyes, and the whole area behind the xcal client window

  I thought about reparent xwindow into NSWindow,
  but as you said, it is a waste of memory.
  The only gain is to use GNUstep drawing/font/localization facility.

>
>  My current solution/code is to split the WM library into layers.
>  1st, non-X layer for generic windowing. 2nd, Xlib/XCB layer that need no
> AppKit and 3rd, AppKit layer which will use many
>  NSWindows to do decoration so that you don't need to waste the
>  memory in the middle area of each window. It will base on the current
>  implementation of WMCore

  I am not quite understand your 3-layers approaches.
  My approach is trying to decompose a regular window manager
  into several small components, like taskbar, pager, etc.
  Most of them can be GNUstep applications.
  They all listen to the root window in XWindow system.
  The real window manager is only responsible for window mapping and decoration.
  Although I don't know how far I can go,
  but if it can work out, the real window manager can be small,
  may not depending on GNUstep NSWindow, but easier to maintain.

[snip]
>
>  You can take a look at the old concept source at
> http://cvs.gna.org/cvsweb/garma/System/Frameworks/WindowManager/?cvsroot=garma
>  I am not sure if it still work. The code is ancient and probaly very ugly.
>  Didn't Quentin say that etoile doesn't need an X11 window manager?

  Well, I would say it is not in the near future. :D

  Yen-Ju

>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>
>
>

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à