summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2010-08-10 18:08:44 +0000
committerKim Woelders <kim@woelders.dk>2010-08-10 18:08:44 +0000
commitc81f5795de828ab88232f5a7481437f17b9e6831 (patch)
tree2b7b406f96f23bac93d2fcf1c4843ba86cfdd5d0 /src/term.c
parent8f2dd859a637a7d222ae15d8edc286497a14c686 (diff)
downloadeterm-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c
index de2f90d..8435da1 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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: