SDL/x11 : make Copy/Paste and Drag&Drop work

This commit is contained in:
Thomas Bernard
2018-07-13 01:31:15 +02:00
parent 8ec57abf88
commit d7c6193c21
5 changed files with 304 additions and 146 deletions

View File

@@ -32,6 +32,12 @@
#ifdef WIN32
#include <windows.h> // for HWND
#endif
#if defined(USE_SDL) || defined(USE_SDL2)
#include <SDL_syswm.h> // for Display, Window
#endif
#if defined(USE_X11)
#include <X11/Xlib.h> // for Display, Window
#endif
#include "struct.h"
#include "global.h"
@@ -70,6 +76,10 @@ void GFX2_UpdateScreen(void);
HWND GFX2_Get_Window_Handle(void);
#endif
#if defined(USE_X11) || defined(SDL_VIDEO_DRIVER_X11)
int GFX2_Get_X11_Display_Window(Display * * display, Window * window);
#endif
/// Set application icon(s)
void Define_icon(void);