mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-24 17:02:55 +02:00
Basic clipboard_push_text support for linux
This commit is contained in:
committed by
Simon Robertshaw
parent
3dd82d9ced
commit
34774e7829
@@ -1,6 +1,9 @@
|
||||
#ifndef INTERFACE_H
|
||||
#define INTERFACE_H
|
||||
#include <SDL/SDL.h>
|
||||
#if (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
#include <SDL/SDL_syswm.h>
|
||||
#endif
|
||||
#include "graphics.h"
|
||||
|
||||
struct menu_section
|
||||
@@ -130,6 +133,11 @@ typedef struct ui_richtext ui_richtext;
|
||||
int SLALT;
|
||||
extern SDLMod sdl_mod;
|
||||
extern int sdl_key, sdl_wheel, sdl_caps, sdl_ascii, sdl_zoom_trig;
|
||||
#if (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
extern SDL_SysWMinfo sdl_wminfo;
|
||||
extern Atom XA_CLIPBOARD, XA_TARGETS;
|
||||
#endif
|
||||
|
||||
extern char *shift_0;
|
||||
extern char *shift_1;
|
||||
extern int svf_messages;
|
||||
|
Reference in New Issue
Block a user