"Jon M. Taylor" <[EMAIL PROTECTED]> writes:

> On Tue, 27 Jun 2000, Andreas Beck wrote:
> 
> > > ps what exacly is libwmh?
> > 
> > A BadHack(TM) by me that allows to have some interaction with the
> > windowmanager on targets that support it. Like allowing to resize the
> > window, moving it around, iconifying etc.
> 
>       I assume that what _should_ be done is to use LibGWT with an
> X-target instead?

ARGH NO!
/me repeatedly bangs his head to the desk

Let's clearify some things here:

LibGGI is a library to do fullscreen graphics with more or less
direct access to the hardware. Due to some nice features it is
also possible to run LibGGI applications in for example an X window,
without requiring the application to know that it is infact running
in a window, which is very nice for debugging.

Due to the facts that LibGGI is easy to program for, and LibGGI
on the X-target is as fast (and often faster) as any native X
implementation would be, many people want their applications to use
LibGGI even when running in an X window. However they usually
dislike that the window is always named "GGI-on-X", and that the
user can't resize the window. As a service to these people Andy
wrote the LibWMH (Window Manager Hints) extension, which extends
LibGGI with functionality for manipulating the window an X-target
visual (or a visual in any other windowing system is running in).

LibGWT (General Windowing Toolkit) on the other hand is a library
(which may eventually turn into an extension) for creating, managing
and drawing on overlapping regions (commonly called "windows") on a
LibGGI visual.

These two libraries are as fundamentally different as they can be,
as LibGWT does things inside a visual, while LibWMH handles things
which are outside a visual and normally not even part of the GGI
concept. About only thing they have in common is the letter 'W'...

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

Reply via email to