SDL  2.0
SDL_clipboardevents.c File Reference
#include "../SDL_internal.h"
#include "SDL_events.h"
#include "SDL_events_c.h"
#include "SDL_clipboardevents_c.h"
+ Include dependency graph for SDL_clipboardevents.c:

Go to the source code of this file.

Functions

int SDL_SendClipboardUpdate (void)

Function Documentation

int SDL_SendClipboardUpdate ( void  )

Definition at line 31 of file SDL_clipboardevents.c.

References SDL_CLIPBOARDUPDATE, SDL_ENABLE, SDL_GetEventState, and SDL_PushEvent.

{
int posted;
/* Post the event, if desired */
posted = 0;
event.type = SDL_CLIPBOARDUPDATE;
posted = (SDL_PushEvent(&event) > 0);
}
return (posted);
}