Prepare the specified window for an effect.
#include <screen/screen.h>
int screen_prepare_effect(screen_window_t win, int effect)
The window that is to be prepared for an effect.
The effect to be prepared on the window.
0 if an effect was successfully prepared, or -1 of an error occurred (errno is set).