comparison 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
comparison
equal deleted inserted replaced
4507:dbf3fa541096 4508:15d2c6f40c48
46 #include <X11/extensions/scrnsaver.h> 46 #include <X11/extensions/scrnsaver.h>
47 #endif 47 #endif
48 48
49 #include "SDL_x11dyn.h" 49 #include "SDL_x11dyn.h"
50 50
51 #include "SDL_x11clipboard.h"
51 #include "SDL_x11events.h" 52 #include "SDL_x11events.h"
52 #include "SDL_x11gamma.h" 53 #include "SDL_x11gamma.h"
53 #include "SDL_x11keyboard.h" 54 #include "SDL_x11keyboard.h"
54 #include "SDL_x11modes.h" 55 #include "SDL_x11modes.h"
55 #include "SDL_x11mouse.h" 56 #include "SDL_x11mouse.h"
67 int numwindows; 68 int numwindows;
68 SDL_WindowData **windowlist; 69 SDL_WindowData **windowlist;
69 int windowlistlength; 70 int windowlistlength;
70 Atom WM_DELETE_WINDOW; 71 Atom WM_DELETE_WINDOW;
71 SDL_scancode key_layout[256]; 72 SDL_scancode key_layout[256];
73 SDL_bool selection_waiting;
72 } SDL_VideoData; 74 } SDL_VideoData;
73 75
74 extern SDL_bool X11_UseDirectColorVisuals(void); 76 extern SDL_bool X11_UseDirectColorVisuals(void);
75 77
76 #endif /* _SDL_x11video_h */ 78 #endif /* _SDL_x11video_h */