A couple of questions from a Newbie.

2011-04-20 Thread Lars Segerlund
 Hello ,

 I am trying to build a module using the composite extension of X,
mainly xcompmgr functionality for now ... is anyone else interested or
have some opinions ? views ?

 I have a good idéa of the X part, but I have never written a fvwm
module before, so any hints are welcome  especially if anyone have
some problems they can foresee .

 Also would 2.6.1 or 2.7.x be the correct branch to use ?

 / regards, Lars Segerlund



Re: A couple of questions from a Newbie.

2011-04-20 Thread Thomas Adam
On Wed, Apr 20, 2011 at 01:25:45PM +0200, Lars Segerlund wrote:
  Hello ,
 
  I am trying to build a module using the composite extension of X,
 mainly xcompmgr functionality for now ... is anyone else interested or
 have some opinions ? views ?

I'm not interested in using it, but I'm wondering how useful a FVWM-specific
module would be over just using xcompmgr directly?  Mind you, I suppose
there's a case for letting it hook in to certain windows, which you can't
use with xcompmgr because it's an all or nothing approach.

Be very careful with scoping this though -- FVWM is a *reparenting* window
manager, not a compositing one.

  I have a good idéa of the X part, but I have never written a fvwm
 module before, so any hints are welcome  especially if anyone have
 some problems they can foresee .

Take any existing module we have now, and I think there was some tutorial on
the fvwmforums about writing modules from scratch, but I've not read it,
and can't vouch for its accuracy.

I'd rather see FvwmDecorator as a pre-cursor to this; whilst that needs a
lot of discussion/design first of all, what's this FvwmCompositor module of
yours going to provide in terms of functionality?

  Also would 2.6.1 or 2.7.x be the correct branch to use ?

It doesn't matter.   The code is the same.  I'd rather you didn't use 2.7.X
though.

-- Thomas Adam



Re: A couple of questions from a Newbie.

2011-04-20 Thread despen
Lars Segerlund lars.segerl...@gmail.com writes:

  Hello ,

  I am trying to build a module using the composite extension of X,
 mainly xcompmgr functionality for now ... is anyone else interested or
 have some opinions ? views ?

  I have a good idéa of the X part, but I have never written a fvwm
 module before, so any hints are welcome  especially if anyone have
 some problems they can foresee .

  Also would 2.6.1 or 2.7.x be the correct branch to use ?

2.6.1.

The complete documentation for the module interface is here:

http://fvwm.org/documentation/dev_modules.php

IMO, the best module to use as an example is FvwmAnimate.

What can xcompmgr do for Fvwm?



Re: A couple of questions from a Newbie.

2011-04-20 Thread Lars Segerlund
 xcompmanager is the 'simplest' compsitioning manager/program you can
think of, it only reparents all windows to offscreen storage and
renders the visible screen using 'compositioning' ie. OpenGL or
similar in order to give effects that is hard to do otherwise.

 So if you can do what xcompamanger can do, youre on your way to
something like compiz or kwin, ie. 3D effects on the desktop or
simpler effects.

 For example transparent windows are easy to do.
 Provided it is possible to integrate a module tight enough, it should
be able to do what the MAC interface or compiz does in desktop
effects.

 I am only doing it to se if I can, and I don't know if I have the
time to make it usable.

 / Lars

2011/4/20  des...@verizon.net:
 Lars Segerlund lars.segerl...@gmail.com writes:

  Hello ,

  I am trying to build a module using the composite extension of X,
 mainly xcompmgr functionality for now ... is anyone else interested or
 have some opinions ? views ?

  I have a good idéa of the X part, but I have never written a fvwm
 module before, so any hints are welcome  especially if anyone have
 some problems they can foresee .

  Also would 2.6.1 or 2.7.x be the correct branch to use ?

 2.6.1.

 The complete documentation for the module interface is here:

 http://fvwm.org/documentation/dev_modules.php

 IMO, the best module to use as an example is FvwmAnimate.

 What can xcompmgr do for Fvwm?