mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
x11/keymap: Avoid a signed/unsigned comparison
This commit is contained in:
parent
f54a4532a4
commit
f5065059b7
@ -44,8 +44,8 @@ struct _ClutterKeymapX11
|
||||
|
||||
ClutterBackend *backend;
|
||||
|
||||
gint min_keycode;
|
||||
gint max_keycode;
|
||||
int min_keycode;
|
||||
int max_keycode;
|
||||
|
||||
ClutterModifierType modmap[8];
|
||||
|
||||
@ -450,7 +450,7 @@ _clutter_keymap_x11_translate_key_state (ClutterKeymapX11 *keymap,
|
||||
|
||||
gboolean
|
||||
_clutter_keymap_x11_get_is_modifier (ClutterKeymapX11 *keymap,
|
||||
guint keycode)
|
||||
gint keycode)
|
||||
{
|
||||
g_return_val_if_fail (CLUTTER_IS_KEYMAP_X11 (keymap), FALSE);
|
||||
|
||||
|
@ -46,7 +46,7 @@ gint _clutter_keymap_x11_translate_key_state (ClutterKeymapX11 *keymap,
|
||||
ClutterModifierType modifier_state,
|
||||
ClutterModifierType *mods_p);
|
||||
gboolean _clutter_keymap_x11_get_is_modifier (ClutterKeymapX11 *keymap,
|
||||
guint keycode);
|
||||
gint keycode);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user