aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c.old3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xselect.c.old b/src/xselect.c.old
index aa415afc663..cb7697270c2 100644
--- a/src/xselect.c.old
+++ b/src/xselect.c.old
@@ -159,6 +159,8 @@ use X selections.")
159 Time event_time = last_event_timestamp; 159 Time event_time = last_event_timestamp;
160 CHECK_STRING (string, 0); 160 CHECK_STRING (string, 0);
161 161
162 val = Qnil;
163
162 if (NILP (type) || EQ (type, Qprimary)) 164 if (NILP (type) || EQ (type, Qprimary))
163 { 165 {
164 BLOCK_INPUT; 166 BLOCK_INPUT;
@@ -195,6 +197,7 @@ use X selections.")
195 XStoreBytes (x_current_display, 197 XStoreBytes (x_current_display,
196 (char *) XSTRING (string)->data, 198 (char *) XSTRING (string)->data,
197 XSTRING (string)->size); 199 XSTRING (string)->size);
200 val = string;
198 UNBLOCK_INPUT; 201 UNBLOCK_INPUT;
199 } 202 }
200 else 203 else