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
This commit is contained in:
Matt Chapman 2002-10-02 13:51:16 +00:00
parent 061f44532b
commit 8b98bdc4ae
2 changed files with 2 additions and 2 deletions

View File

@ -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);

2
xwin.c
View File

@ -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;