mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-07-26 09:28:56 +00:00
Comment typo and return handled status in handle_selection()
This commit is contained in:
parent
3e532be645
commit
1421bca4a7
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user