From 8b791de624df9c8457dcdd67c29f101c840f352b Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Thu, 11 Aug 2011 15:37:46 +0800 Subject: [PATCH] xfreerdp: fix compile warnings. --- client/X11/xf_keyboard.h | 1 + client/X11/xfreerdp.c | 4 ---- client/X11/xfreerdp.h | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/client/X11/xf_keyboard.h b/client/X11/xf_keyboard.h index 7e7ff1656..7932034d0 100644 --- a/client/X11/xf_keyboard.h +++ b/client/X11/xf_keyboard.h @@ -31,5 +31,6 @@ int xf_kbd_read_keyboard_state(xfInfo* xfi); boolean xf_kbd_get_key_state(xfInfo* xfi, int state, int keysym); int xf_kbd_get_toggle_keys_state(xfInfo* xfi); void xf_kbd_focus_in(xfInfo* xfi); +boolean xf_kbd_handle_special_keys(xfInfo* xfi, KeySym keysym); #endif /* __XF_KEYBOARD_H */ diff --git a/client/X11/xfreerdp.c b/client/X11/xfreerdp.c index fd2ae8c0a..067168949 100644 --- a/client/X11/xfreerdp.c +++ b/client/X11/xfreerdp.c @@ -58,7 +58,6 @@ void xf_end_paint(rdpUpdate* update) xfInfo* xfi; sint32 x, y; uint32 w, h; - XImage* image; gdi = GET_GDI(update); xfi = GET_XFI(update); @@ -245,13 +244,10 @@ boolean xf_post_connect(freerdp* instance) { GDI* gdi; xfInfo* xfi; - int input_mask; XEvent xevent; XGCValues gcv; Atom kill_atom; Atom protocol_atom; - XSizeHints *size_hints; - XClassHint *class_hints; xfi = GET_XFI(instance); SET_XFI(instance->update, xfi); diff --git a/client/X11/xfreerdp.h b/client/X11/xfreerdp.h index 6034df579..649eee638 100644 --- a/client/X11/xfreerdp.h +++ b/client/X11/xfreerdp.h @@ -22,6 +22,7 @@ #include "gdi.h" #include +#include #include #include