View Full Version : Resize plugin 12/03/2007
gnumdk
February 20th, 2007, 09:10 AM
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/resize.tar.gz
Here is an updated port of beryl resize plugin.
Thanx to beryl devs for they work on this plugin.
12/03/2007: Sync with compiz (*)
06/03/2007: Work with last git
04/03/2007: Updated to respect resize mask
(*) http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commit;h=f6690f930168d43e463404bb5a72 f13c71dabdef
Amaranth
February 20th, 2007, 09:15 AM
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/resize.tar.gz
Here is an updated port of beryl resize plugin.
Thanx to beryl devs for they work on this plugin.
But, as i'm an angry geek, i will point some difference between compiz core and beryl core:
I take resizeWindowPreview() from beryl-core to the plugin. Don't know why they put this in core, maybee they use it in another plugin...
This one has me stumped too.windowResizeNotify() take extras arguments in beryl, seems to work without, have no idea why they introduced this new arguments...
This is used in group and snap and the beryl developer that worked on it (maniac) has posted a patch for compiz on the mailing list.warpPointer() now take a screen as argument instead of a display. No idea why...
This is for multiscreen support.
nzjrs
February 20th, 2007, 12:19 PM
I think it is worth creating a sticky topic in the forum that lists these differences (is addition to the porting guide)
That way they wont get lost and they can all be composed into and email and sent to david on the ML for discussion.
I am sure he would accept clean changes that allow Beryl plugins to work on compiz, or at least be able to offer suggestions. He does seem to want to reduce the delta and encourage in any way the possibility of the unforking....
I am unable to create a sticky topic but does this sound like a good idea?
That way the Beryl devs who are interested in co-operating could also add things to the appropriate topic
gnumdk
March 6th, 2007, 01:41 AM
Just to say: Updated :)
jej2003
March 9th, 2007, 01:16 AM
is there a way to get a binary version of this? I had tried to build it from source with no luck specifically here is the problem I run into:
resize.c:378: warning: no previous prototype for 'resizeWindowPreview'
resize.c: In function 'resizeWindowPreview':
resize.c:383: error: too many arguments to function 'w->screen->windowResizeNotify'
resize.c: At top level:
resize.c:1220: warning: type defaults to 'int' in declaration of 'CompTransform'
resize.c:1220: error: expected ';', ',' or ')' before '*' token
resize.c:1265: warning: type defaults to 'int' in declaration of 'CompTransform'
resize.c:1265: error: expected ';', ',' or ')' before '*' token
resize.c:1331: warning: type defaults to 'int' in declaration of 'CompTransform'
resize.c:1331: error: expected ';', ',' or ')' before '*' token
resize.c:1358: warning: type defaults to 'int' in declaration of 'CompTransform'
resize.c:1358: error: expected ';', ',' or ')' before '*' token
resize.c: In function 'resizeInitScreen':
resize.c:1659: error: 'resizePaintWindow' undeclared (first use in this function)
resize.c:1659: error: (Each undeclared identifier is reported only once
resize.c:1659: error: for each function it appears in.)
resize.c:1661: error: 'resizePaintScreen' undeclared (first use in this function)
resize.c:1662: error: 'resizePaintTransformedScreen' undeclared (first use in this function)
make[2]: *** [resize.lo] Error 1
make[2]: Leaving directory `/home/jamie/Desktop/untitled folder/compiz-0.3.6.tar.bz2_FILES/compiz-0.3.6/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jamie/Desktop/untitled folder/compiz-0.3.6.tar.bz2_FILES/compiz-0.3.6'
make: *** [all] Error 2
Amaranth
March 9th, 2007, 01:45 AM
This plugin is for the latest compiz in git.
jej2003
March 10th, 2007, 03:12 AM
ah thanks...got that working but I don't see the option to enable the outline window resizing. Where in gconf is that?
gnumdk
March 10th, 2007, 06:58 PM
You need to install schema file
gconftool-2 --install-schema-file=resize.schemas
something like this ;)
gnumdk
April 5th, 2007, 12:18 PM
Just updated to works with current git.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.