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/term.c | |
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/term.c')
-rw-r--r-- | src/term.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -561,15 +561,15 @@ lookup_key(XEvent * ev) } #endif -#if defined(HAVE_X11_SUNKEYSYM_H) && defined(HAVE_X11_XMU_ATOMS_H) +#if defined(HAVE_X11_SUNKEYSYM_H) switch (keysym) { case SunXK_Copy: case SunXK_Cut: - selection_copy(XA_CLIPBOARD(Xdisplay)); + selection_copy(props[PROP_CLIPBOARD]); LK_RET(); break; case SunXK_Paste: - selection_paste(XA_CLIPBOARD(Xdisplay)); + selection_paste(props[PROP_CLIPBOARD]); LK_RET(); break; case SunXK_Front: |