mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-03 03:01:22 +00:00
Merge pull request #92 from ghost/x11-clipboard-fix
Fix X11 BadAtom errors that prevent IDE launch
This commit is contained in:
commit
37d19a9809
|
@ -22134,10 +22134,10 @@ void sub_put2(int32 i,int64 offset,void *element,int32 passed){
|
|||
//SDL_EventState(SDL_SYSWMEVENT,SDL_ENABLE);
|
||||
//SDL_SetEventFilter(x11filter);
|
||||
x11_lock();
|
||||
targets=XInternAtom(X11_display,"TARGETS",True);
|
||||
utf8string=XInternAtom(X11_display,"UTF8_STRING",True);
|
||||
compoundtext=XInternAtom(X11_display,"COMPOUND_TEXT",True);
|
||||
clipboard=XInternAtom(X11_display,"CLIPBOARD",True);
|
||||
targets=XInternAtom(X11_display,"TARGETS",False);
|
||||
utf8string=XInternAtom(X11_display,"UTF8_STRING",False);
|
||||
compoundtext=XInternAtom(X11_display,"COMPOUND_TEXT",False);
|
||||
clipboard=XInternAtom(X11_display,"CLIPBOARD",False);
|
||||
x11_unlock();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue