Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.h @ 4508:15d2c6f40c48
Added X11 clipboard support.
As far as I know there isn't any real way to tell when the clipboard contents have changed without polling them, so I didn't implement the clipboard update event on X11.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 12 Jul 2010 00:36:55 -0700 |
parents | 791b3256fb22 |
children | a956a315fe67 03dcb795c583 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h Mon Jul 12 00:35:24 2010 -0700 +++ b/src/video/x11/SDL_x11video.h Mon Jul 12 00:36:55 2010 -0700 @@ -48,6 +48,7 @@ #include "SDL_x11dyn.h" +#include "SDL_x11clipboard.h" #include "SDL_x11events.h" #include "SDL_x11gamma.h" #include "SDL_x11keyboard.h" @@ -69,6 +70,7 @@ int windowlistlength; Atom WM_DELETE_WINDOW; SDL_scancode key_layout[256]; + SDL_bool selection_waiting; } SDL_VideoData; extern SDL_bool X11_UseDirectColorVisuals(void);