File wmcliphist-0.6-default.patch of Package WindowMaker-applets

--- clipboard.c
+++ clipboard.c
@@ -2,7 +2,7 @@
 #include <time.h>
 
 /* when true, clipboard will be automatically taken up by wmcliphist */
-gint	auto_take_up = 1;
+gint	auto_take_up = 0;
 
 /* number of items to keep (may be overriden from command line) */
 gint	num_items_to_keep = 10;
--- history.c
+++ history.c
@@ -70,7 +70,7 @@
 	if (processed == FALSE) {
 		hist_item = menu_item_add(content, length, locked, menu_hist);
 
-		fprintf(stderr, "auto_take_up=%d\n", auto_take_up);
+		/* fprintf(stderr, "auto_take_up=%d\n", auto_take_up); */
 		
 		/* when auto_take_up is true, set selection owner to myself */
 		if (auto_take_up == 1) {
--- rcconfig.c
+++ rcconfig.c
@@ -250,8 +250,8 @@
 							exec_hotkey = 0;
 						}
 					} else if (strcmp(direc_buf, "auto_take_up") == 0) {
-						if (strcasecmp(expr_buf, "no") == 0) {
-							auto_take_up = 0;
+						if (strcasecmp(expr_buf, "yes") == 0) {
+							auto_take_up = 1;
 						}
 					} else
 						error = 1;
openSUSE Build Service is sponsored by