diff options
Diffstat (limited to 'x11vnc/selection.c')
| -rw-r--r-- | x11vnc/selection.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/x11vnc/selection.c b/x11vnc/selection.c index 0630aea..7428ead 100644 --- a/x11vnc/selection.c +++ b/x11vnc/selection.c @@ -62,14 +62,14 @@ void selection_request(XEvent *ev, char *type) {  	char *str;  	unsigned int length;  	unsigned char *data; -#ifndef XA_LENGTH +# ifndef XA_LENGTH  	unsigned long XA_LENGTH; -#endif +# endif  	RAWFB_RET_VOID -#ifndef XA_LENGTH +# ifndef XA_LENGTH  	XA_LENGTH = XInternAtom(dpy, "LENGTH", True); -#endif +# endif  	req_event = &(ev->xselectionrequest);  	notify_event.type 	= SelectionNotify; @@ -257,6 +257,7 @@ void cutbuffer_send(void) {   * Also: XFIXES has XFixesSelectSelectionInput().   */  #define CHKSZ 32 +  void selection_send(XEvent *ev) {  #if NO_X11  	RAWFB_RET_VOID | 
