Comment typo and return handled status in handle_selection()

This commit is contained in:
gbeauche 2005-06-22 08:50:07 +00:00
parent 3e532be645
commit 1421bca4a7

View File

@ -240,7 +240,7 @@ static bool read_property(Display *dpy, Window win,
/* /*
* Timed wait for an SelectionNotify event * Timed wait for a SelectionNotify event
*/ */
static const uint64 SELECTION_MAX_WAIT = 500000; // 500 ms static const uint64 SELECTION_MAX_WAIT = 500000; // 500 ms
@ -662,6 +662,8 @@ static bool handle_selection(XSelectionRequestEvent *req, bool is_multiple)
out_event.xselection.time = req->time; out_event.xselection.time = req->time;
XSendEvent(x_display, req->requestor, False, 0, &out_event); XSendEvent(x_display, req->requestor, False, 0, &out_event);
} }
return handled;
} }
void ClipboardSelectionRequest(XSelectionRequestEvent *req) void ClipboardSelectionRequest(XSelectionRequestEvent *req)