mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 08:50:25 +00:00
Remove QB64_X11
This commit is contained in:
parent
219bbc27f0
commit
8a5d7e7eea
|
@ -22,10 +22,6 @@
|
|||
#define QB64_GL1
|
||||
#define QB64_GLUT
|
||||
|
||||
#ifdef QB64_LINUX
|
||||
#define QB64_X11
|
||||
#endif
|
||||
|
||||
#ifdef DEPENDENCY_CONSOLE_ONLY
|
||||
#undef QB64_GLUT
|
||||
#else
|
||||
|
|
|
@ -172,7 +172,7 @@ void setbits(uint32 bsize,uint8 *base,ptrszint i,int64 val){
|
|||
#include <libgen.h> //required for dirname()
|
||||
#endif
|
||||
|
||||
#ifdef QB64_X11
|
||||
#ifdef QB64_LINUX
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
@ -24227,7 +24227,7 @@ int32 func__exit(){
|
|||
|
||||
|
||||
|
||||
#if defined(QB64_LINUX) && defined(QB64_X11)
|
||||
#if defined(QB64_LINUX)
|
||||
|
||||
//X11 clipboard interface for Linux
|
||||
//SDL_SysWMinfo syswminfo;
|
||||
|
@ -24414,7 +24414,7 @@ if (x11selectionowner!=None){
|
|||
return;
|
||||
#endif
|
||||
|
||||
#if defined(QB64_LINUX) && defined(QB64_X11)
|
||||
#if defined(QB64_LINUX)
|
||||
static qbs *textz=NULL; if (!textz) textz=qbs_new(0,0);
|
||||
qbs_set(textz,qbs_add(text,qbs_new_txt_len("\0",1)));
|
||||
x11clipboardcopy((char*)textz->chr);
|
||||
|
@ -24641,7 +24641,7 @@ return -1;
|
|||
return NULL;
|
||||
#endif
|
||||
|
||||
#if defined(QB64_LINUX) && defined(QB64_X11)
|
||||
#if defined(QB64_LINUX)
|
||||
qbs *text;
|
||||
char *cp=x11clipboardpaste();
|
||||
cp=x11clipboardpaste();
|
||||
|
|
Loading…
Reference in a new issue