Leave other targets alone for now. I need a clipboard manager.
This commit is contained in:
parent
e25dbbc11f
commit
bf72370337
@ -124,7 +124,7 @@ int main() {
|
|||||||
int screen;
|
int screen;
|
||||||
Atom selection, clip_property;
|
Atom selection, clip_property;
|
||||||
// target atoms
|
// target atoms
|
||||||
Atom utf8_target, text_target, string_target;
|
Atom utf8_target;//, text_target, string_target;
|
||||||
data = NULL;
|
data = NULL;
|
||||||
data_size = 0;
|
data_size = 0;
|
||||||
|
|
||||||
@ -146,8 +146,8 @@ int main() {
|
|||||||
// create atoms for selections
|
// create atoms for selections
|
||||||
selection = XInternAtom(display, "CLIPBOARD", 0);
|
selection = XInternAtom(display, "CLIPBOARD", 0);
|
||||||
utf8_target = XInternAtom(display, "UTF8_STRING", 0);
|
utf8_target = XInternAtom(display, "UTF8_STRING", 0);
|
||||||
text_target = XInternAtom(display, "TEXT", 0);
|
//text_target = XInternAtom(display, "TEXT", 0);
|
||||||
string_target = XInternAtom(display, "STRING", 0);
|
//string_target = XInternAtom(display, "STRING", 0);
|
||||||
clip_property = XInternAtom(display, "TINYCLIP", 0);
|
clip_property = XInternAtom(display, "TINYCLIP", 0);
|
||||||
|
|
||||||
// check if there is currently someone using the clipboard
|
// check if there is currently someone using the clipboard
|
||||||
|
Loading…
Reference in New Issue
Block a user