Leave other targets alone for now. I need a clipboard manager.

This commit is contained in:
Nicolás Ortega Froysa 2020-02-17 15:58:48 +01:00
parent e25dbbc11f
commit bf72370337

View File

@ -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