cliprdr: fix incorrect condition.

This commit is contained in:
Vic Lee 2011-11-24 19:01:28 +08:00
parent 1e264222f6
commit b6bf15ca27
1 changed files with 2 additions and 2 deletions

View File

@ -689,7 +689,7 @@ static void xf_cliprdr_process_requested_data(xfInfo* xfi, boolean has_data, uin
xf_cliprdr_send_null_data_response(xfi);
/* Resend the format list, otherwise the server won't request again for the next paste */
//xf_cliprdr_send_format_list(xfi);
xf_cliprdr_send_format_list(xfi);
}
static boolean xf_cliprdr_get_requested_data(xfInfo* xfi, Atom target)
@ -1170,7 +1170,7 @@ boolean xf_cliprdr_process_selection_request(xfInfo* xfi, XEvent* xevent)
}
}
if (delay_respond != false)
if (delay_respond == false)
{
XSendEvent(xfi->display, xevent->xselectionrequest.requestor, 0, 0, respond);
XFlush(xfi->display);