From 8b98bdc4aef9178a7abc67c5cb1a730f94164fdf Mon Sep 17 00:00:00 2001 From: Matt Chapman Date: Wed, 2 Oct 2002 13:51:16 +0000 Subject: [PATCH] Arguments to get_key_state the wrong way around. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@208 423420c4-83ab-492f-b58f-81f9feb106b5 --- proto.h | 2 +- xwin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto.h b/proto.h index 729b7c3..2aa9458 100644 --- a/proto.h +++ b/proto.h @@ -71,7 +71,7 @@ void ensure_remote_modifiers(uint32 ev_time, key_translation tr); void reset_modifier_keys(unsigned int state); void rdp_send_scancode(uint32 time, uint16 flags, uint8 scancode); /* xwin.c */ -BOOL get_key_state(uint32 keysym, unsigned int state); +BOOL get_key_state(unsigned int state, uint32 keysym); BOOL ui_init(void); void ui_deinit(void); BOOL ui_create_window(void); diff --git a/xwin.c b/xwin.c index 0240311..90c2437 100644 --- a/xwin.c +++ b/xwin.c @@ -184,7 +184,7 @@ translate_colour(uint32 colour) } BOOL -get_key_state(uint32 keysym, unsigned int state) +get_key_state(unsigned int state, uint32 keysym) { int modifierpos, key, keysymMask = 0; int offset;