CVS: tvision/include/tv/x11 screen.h,2.33,2.34
Brought to you by:
set
From: Salvador E. T. <se...@us...> - 2017-07-30 20:39:21
|
Update of /cvsroot/tvision/tvision/include/tv/x11 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30171/include/tv/x11 Modified Files: screen.h Log Message: * Added: [X11] Support for the XA_TARGETS request. It solves clipboard problems on KDE (tested on KDE 5.28) Index: screen.h =================================================================== RCS file: /cvsroot/tvision/tvision/include/tv/x11/screen.h,v retrieving revision 2.33 retrieving revision 2.34 diff -C2 -d -r2.33 -r2.34 *** screen.h 30 Jul 2017 20:37:25 -0000 2.33 --- screen.h 30 Jul 2017 20:39:17 -0000 2.34 *************** *** 107,110 **** --- 107,111 ---- // Events loop static void ProcessGenericEvents(); + static void ProcessSelectionRequest(XEvent &event); // Internal line update static void writeLine(int x, int y, int w, unsigned char *str, unsigned color); *************** *** 162,165 **** --- 163,169 ---- // Needed to catch the windows close static Atom theProtocols; + // Clipboard properties + static Atom XA_TARGETS; + static Atom XA_MULTIPLE; // Our colors mapped to X ones static ulong colorMap[16]; |