Andreas Beck <[EMAIL PROTECTED]> writes:

> I updated LibWmh to work with the new dynamic loading scheme.
> 
> A caveat for other ports: Due to the change in the dynamic loader that allow
> for static linkage by having different init-function-names for each
> library, you got to take care, that the library-basenames are legal
> function names in C.
> 
> Marcus: Shouldn't we provide name-mangling as in [^a-zA-z0-9_]=>"_" ?

I prefer restricting sublib names to those letters. There's no real
reson to use any other characters anyway, and the fewer we allow
the more compatible with different filesystems we get.

> Another thing I noticed:
> 
> Resizing doesn't work anymore. I assume this is due to setting some hint
> for the window.

AFAIK it never worked, due to exactly those hints.

> It actually is a good thing - we should rework that one to not try to
> interact with X directly, but rather have it send a "fake" gii-resize
> event.

Application-requested resize is useless, as it is the same as a
SetMode. What we should provide functionality for in LibWMH to allow
user-resizing of the window, ie remove the size hints and send gii-resize
when the window changes size. I believe normal size-changing by users
is the last feature missing to be a complete and better alternative
to writing native X-programs.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to