Shader example start, but when I quit gives:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Resource id in failed request: 0x1a00007
Serial number of failed request: 1000
Current serial number in output stream: 1010
which it doesn't do with 1display branch.
EDIT: it happens at the deletion of the last effect.
It seems I suck with gdb + C++, but if you need more info I can try it harder.
Btw it looks wrong to call window.draw(..) and window.display() after window.close() in the example, but it's not the problem, because I changed the order and the error remains.
The examples in this thread works without problem.