screen_prepare_effect()

Prepare the specified window for an effect.

Synopsis:

#include <screen/screen.h>
 
int screen_prepare_effect(screen_window_t win, int effect)

Arguments:

win

The window that is to be prepared for an effect.

effect

The effect to be prepared on the window.

Library:

libscreen

Description:

Function Type: Apply Execution

This function .

Returns:

0 if an effect was successfully prepared, or -1 of an error occurred (errno is set).