From bf723703370cd4452def0809a42a6b11439eb2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Mon, 17 Feb 2020 15:58:48 +0100 Subject: [PATCH] Leave other targets alone for now. I need a clipboard manager. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 2ff23cf..296fa0a 100644 --- a/src/main.c +++ b/src/main.c @@ -124,7 +124,7 @@ int main() { int screen; Atom selection, clip_property; // target atoms - Atom utf8_target, text_target, string_target; + Atom utf8_target;//, text_target, string_target; data = NULL; data_size = 0; @@ -146,8 +146,8 @@ int main() { // create atoms for selections selection = XInternAtom(display, "CLIPBOARD", 0); utf8_target = XInternAtom(display, "UTF8_STRING", 0); - text_target = XInternAtom(display, "TEXT", 0); - string_target = XInternAtom(display, "STRING", 0); + //text_target = XInternAtom(display, "TEXT", 0); + //string_target = XInternAtom(display, "STRING", 0); clip_property = XInternAtom(display, "TINYCLIP", 0); // check if there is currently someone using the clipboard