View Full Version : New version of neg plugin
gnumdk
November 23rd, 2006, 07:12 PM
Here is a new version of neg plugin working with current git.
http://puffy.homelinux.org/~gnumdk/compiz/neg.tar.gz
moppsy
November 25th, 2006, 01:30 PM
what's changed?
The diff to my latest version shows
--- ../../src/compiz/plugins/neg/neg.c 2006-10-22 08:23:14.000000000 -0400
+++ neg.c 2006-11-23 14:15:43.000000000 -0500
@@ -617,3 +617,4 @@
return &NEGVTable;
}
+
mikedee
November 25th, 2006, 04:18 PM
Wierd
This is my diff (against what I have on the site)
--- neg/neg.c 2006-11-23 19:15:43.000000000 +0000
+++ ../neg/neg.c 2006-11-09 20:36:34.000000000 +0000
@@ -131,7 +131,7 @@
NEG_SCREEN (w->screen);
NEG_WINDOW (w);
- if (nw->isNeg && (texture->name == w->texture->name))
+ if (nw->isNeg && (texture->name == w->texture.name))
{
glPushMatrix ();
I think these changes were in before 0.3.2 so it should be updated for that version of compiz-extra. The breaking changes for the current git compared to 0.3.4 are the drawWindow changes.
I am surprised this ever worked after 17 Oct which is when David changed the window texture to be a pointer. I do not remember testing it.
moppsy
November 26th, 2006, 08:12 PM
Wierd
This is my diff (against what I have on the site)
--- neg/neg.c 2006-11-23 19:15:43.000000000 +0000
+++ ../neg/neg.c 2006-11-09 20:36:34.000000000 +0000
@@ -131,7 +131,7 @@
NEG_SCREEN (w->screen);
NEG_WINDOW (w);
- if (nw->isNeg && (texture->name == w->texture->name))
+ if (nw->isNeg && (texture->name == w->texture.name))
{
glPushMatrix ();
I think these changes were in before 0.3.2 so it should be updated for that version of compiz-extra. The breaking changes for the current git compared to 0.3.4 are the drawWindow changes.
I am surprised this ever worked after 17 Oct which is when David changed the window texture to be a pointer. I do not remember testing it.
I updated my version just after that, 2006-10-22, as you can see in my diff.
I guess I forgot to post that I fixed it. :oops:
I try and keep my stuff up to date.
You can always find my latest version here -> http://home.comcast.net/~moppsy/compiz/neg.c
I'll make sure to keep you informed when I do that.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.