diff options
author | Kim Woelders <kim@woelders.dk> | 2010-08-10 18:08:44 +0000 |
---|---|---|
committer | Kim Woelders <kim@woelders.dk> | 2010-08-10 18:08:44 +0000 |
commit | c81f5795de828ab88232f5a7481437f17b9e6831 (patch) | |
tree | 2b7b406f96f23bac93d2fcf1c4843ba86cfdd5d0 /src/screen.h | |
parent | 8f2dd859a637a7d222ae15d8edc286497a14c686 (diff) | |
download | eterm-c81f5795de828ab88232f5a7481437f17b9e6831.tar.gz |
Eliminate use of Xmu.
This causes the following change:
In script.c and term.c XA_CLIPBOARD(Xdisplay) used to expand to
XA_PRIMARY, i.e. the identifier of the "PRIMARY" atom, now it will
be the identifier of the "CLIPBOARD" atom.
SVN revision: 50969
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screen.h b/src/screen.h index e9281f2..21336b3 100644 --- a/src/screen.h +++ b/src/screen.h @@ -16,16 +16,12 @@ #include <X11/Xfuncproto.h> #include "startup.h" -#ifndef XA_CLIPBOARD -# define XA_CLIPBOARD(d) XA_PRIMARY -#endif - /************ Macros and Definitions ************/ #define WRAP_CHAR (0xff) #define PROP_SIZE 4096 #define TABSIZE 8 /* default tab size */ -#define IS_SELECTION(a) (((a) == XA_PRIMARY) || ((a) == XA_SECONDARY) || ((a) == XA_CLIPBOARD(Xdisplay))) +#define IS_SELECTION(a) (((a) == XA_PRIMARY) || ((a) == XA_SECONDARY) || ((a) == props[PROP_CLIPBOARD])) #define IS_CUT_BUFFER(a) (((a) >= XA_CUT_BUFFER0) && ((a) <= XA_CUT_BUFFER7)) #define ZERO_SCROLLBACK do { \ |