Stop the effect on the specified window.
#include <screen/screen.h>
int screen_stop_effect(screen_window_t win, float duration, int notify)
The handle of the window whose effect property is to be stopped.
The duration is not used in screen_stop_effect().
A flag to indicate whether or not a SCREEN_EVENT_EFFECT_COMPLETE event is to be sent upon completion of screen_start_effect(). 1 indicates that a SCREEN_EVENT_EFFECT_COMPLETE is to be sent and 0 indicates that no event is sent upon completion of screen_start_effect().
Function Type: Delayed Execution
This function stops the effect on a window for a specified duration.
Currently there are no effect properties that can be set using this function.
0 if the value(s) of the property was set to new value(s), or -1 if an error occurred (errno is set).