1 |
|
/* |
2 |
|
* clip_unix.cpp - Clipboard handling, Unix implementation |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig |
4 |
> |
* SheepShaver (C) 1997-2008 Christian Bauer and Marc Hellwig |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
240 |
|
|
241 |
|
|
242 |
|
/* |
243 |
< |
* Timed wait for an SelectionNotify event |
243 |
> |
* Timed wait for a SelectionNotify event |
244 |
|
*/ |
245 |
|
|
246 |
|
static const uint64 SELECTION_MAX_WAIT = 500000; // 500 ms |
662 |
|
out_event.xselection.time = req->time; |
663 |
|
XSendEvent(x_display, req->requestor, False, 0, &out_event); |
664 |
|
} |
665 |
+ |
|
666 |
+ |
return handled; |
667 |
|
} |
668 |
|
|
669 |
|
void ClipboardSelectionRequest(XSelectionRequestEvent *req) |