openbsd-ports/x11/x11vnc/patches/patch-x11vnc_pointer_c
sthen c6db9137bd Fix build with new libX11 Xdefs.h (who'd have thought that other
software might use "pointer" as a variable name...). From upstream.
2010-09-03 15:58:12 +00:00

22 lines
954 B
Plaintext

$OpenBSD: patch-x11vnc_pointer_c,v 1.1 2010/09/03 15:58:12 sthen Exp $
--- x11vnc/pointer.c.orig Fri Jul 23 04:34:45 2010
+++ x11vnc/pointer.c Fri Sep 3 16:45:37 2010
@@ -54,7 +54,7 @@ int pointer_queued_sent = 0;
void initialize_pointer_map(char *pointer_remap);
void do_button_mask_change(int mask, int button);
-void pointer(int mask, int x, int y, rfbClientPtr client);
+void pointer_event(int mask, int x, int y, rfbClientPtr client);
void initialize_pipeinput(void);
int check_pipeinput(void);
void update_x11_pointer_position(int x, int y);
@@ -659,7 +659,7 @@ static void pipe_pointer(int mask, int x, int y, rfbCl
* This may queue pointer events rather than sending them immediately
* to the X server. (see update_x11_pointer*())
*/
-void pointer(int mask, int x, int y, rfbClientPtr client) {
+void pointer_event(int mask, int x, int y, rfbClientPtr client) {
allowed_input_t input;
int sent = 0, buffer_it = 0;
double now;