View | Details | Raw Unified | Return to bug 337
Collapse All | Expand All

(-)xclip.c (-1 / +4 lines)
Lines 173-179 Link Here
173
		{
173
		{
174
			XSelectInput(g_display, g_wnd, (wa.your_event_mask | PropertyChangeMask));
174
			XSelectInput(g_display, g_wnd, (wa.your_event_mask | PropertyChangeMask));
175
		}
175
		}
176
		XDeleteProperty(g_display, g_wnd, type);
176
		XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom);
177
		XFree(data);
177
		XFree(data);
178
		g_waiting_for_INCR = 1;
178
		g_waiting_for_INCR = 1;
179
179
Lines 196-201 Link Here
196
			xfree(translated_data);
196
			xfree(translated_data);
197
			g_clip_buflen = length;
197
			g_clip_buflen = length;
198
198
199
			XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom);
199
			XFree(data);
200
			XFree(data);
200
			return;
201
			return;
201
		}
202
		}
Lines 317-322 Link Here
317
				g_clip_buffer = 0;
318
				g_clip_buffer = 0;
318
				g_clip_buflen = 0;
319
				g_clip_buflen = 0;
319
			}
320
			}
321
	 		XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom);
320
		}
322
		}
321
		else
323
		else
322
		{
324
		{
Lines 337-342 Link Here
337
			g_clip_buffer = tmp;
339
			g_clip_buffer = tmp;
338
			g_clip_buflen += length;
340
			g_clip_buflen += length;
339
341
342
	 		XDeleteProperty(g_display, g_wnd, rdesktop_clipboard_target_atom);
340
			XFree(data);
343
			XFree(data);
341
			return;
344
			return;
342
		}
345
		}

Return to bug 337