hello, here is a new patch that uses a commandline option for it. I tested it and it seems to work fine. patch is attached.
diff -ru compiz/include/compiz.h compiz.new/include/compiz.h --- compiz/include/compiz.h 2007-03-01 19:12:58.000000000 +0100 +++ compiz.new/include/compiz.h 2007-03-01 19:20:02.000000000 +0100 @@ -216,6 +216,7 @@ extern Bool strictBinding; extern Bool useCow; extern Bool noDetection; +extern Bool useDesktopHints; extern int defaultRefreshRate; extern char *defaultTextureFilter; diff -ru compiz/src/main.c compiz.new/src/main.c --- compiz/src/main.c 2007-03-01 19:12:58.000000000 +0100 +++ compiz.new/src/main.c 2007-03-01 19:16:11.000000000 +0100 @@ -81,6 +81,8 @@ Bool indirectRendering = FALSE; Bool strictBinding = TRUE; Bool noDetection = FALSE; +Bool useDesktopHints = TRUE; + #ifdef USE_COW Bool useCow = TRUE; @@ -100,6 +102,7 @@ "[--sm-disable] " "[--sm-client-id ID] " "[--no-detection] " + "[--no-desktop-hints] " "[--version]\n " #ifdef USE_COW @@ -196,6 +199,10 @@ { strictBinding = FALSE; } + else if (!strcmp (argv[i], "--no-desktop-hints")) + { + useDesktopHints = FALSE; + } #ifdef USE_COW else if (!strcmp (argv[i], "--use-root-window")) diff -ru compiz/src/screen.c compiz.new/src/screen.c --- compiz/src/screen.c 2007-03-01 19:12:58.000000000 +0100 +++ compiz.new/src/screen.c 2007-03-01 19:14:31.000000000 +0100 @@ -1301,7 +1301,7 @@ XA_CARDINAL, &actual, &format, &n, &left, &propData); - if (result == Success && n && propData) + if (result == Success && n && propData && useDesktopHints) { memcpy (data, propData, sizeof (unsigned long)); XFree (propData);
_______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz