Thanks Alistair. That's what I've been doing. However it would be more helpful to people who don't understand it to remove the call to the real XSync. Because they'd need to modify your code to really test it.
My test so far is stubxsync.c:
int XSync(void *display, int discard) { return 0; }
and built with:
gcc -shared -o stubxsync.so stubxsync.c
Then run with:
env LD_PRELOAD=./stubxsync.so compiz .........
Thanks Alistair. That's what I've been doing. However it would be more helpful to people who don't understand it to remove the call to the real XSync. Because they'd need to modify your code to really test it.
My test so far is stubxsync.c: ./stubxsync. so compiz .........
int XSync(void *display, int discard) { return 0; }
and built with:
gcc -shared -o stubxsync.so stubxsync.c
Then run with:
env LD_PRELOAD=