56 |
XSendEvent(g_display, req->requestor, False, NoEventMask, &xev); |
XSendEvent(g_display, req->requestor, False, NoEventMask, &xev); |
57 |
} |
} |
58 |
|
|
59 |
static void |
void |
60 |
xclip_handle_SelectionNotify(XSelectionEvent * event) |
xclip_handle_SelectionNotify(XSelectionEvent * event) |
61 |
{ |
{ |
62 |
unsigned long nitems, bytes_left; |
unsigned long nitems, bytes_left; |
129 |
cliprdr_send_data(NULL, 0); |
cliprdr_send_data(NULL, 0); |
130 |
} |
} |
131 |
|
|
132 |
static void |
void |
133 |
xclip_handle_SelectionRequest(XSelectionRequestEvent * event) |
xclip_handle_SelectionRequest(XSelectionRequestEvent * event) |
134 |
{ |
{ |
135 |
unsigned long nitems, bytes_left; |
unsigned long nitems, bytes_left; |
170 |
/* wait for data */ |
/* wait for data */ |
171 |
} |
} |
172 |
|
|
173 |
static void |
void |
174 |
xclip_handle_SelectionClear(void) |
xclip_handle_SelectionClear(void) |
175 |
{ |
{ |
176 |
DEBUG_CLIPBOARD(("xclip_handle_SelectionClear\n")); |
DEBUG_CLIPBOARD(("xclip_handle_SelectionClear\n")); |
179 |
cliprdr_send_text_format_announce(); |
cliprdr_send_text_format_announce(); |
180 |
} |
} |
181 |
|
|
182 |
static void |
void |
183 |
xclip_handle_PropertyNotify(XPropertyEvent * event) |
xclip_handle_PropertyNotify(XPropertyEvent * event) |
184 |
{ |
{ |
185 |
unsigned long nitems, bytes_left; |
unsigned long nitems, bytes_left; |