diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2015-01-29 16:56:43 -0600 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-02-11 13:57:35 +0000 |
commit | cca32779f579543b20fa24f4b6aec4cc6c0da6ea (patch) | |
tree | abbbcc5e0790f5c505208e7c5b86cd2ab277bb30 /server/inputs-channel.h | |
parent | 2dfcf9c6e3e61bdc71f2c0eee50c1cb645750f1d (diff) |
spice_server_kbd_leds: don't use global 'reds'
Store a reference to the RedsState server in the keyboard state struct
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/inputs-channel.h')
-rw-r--r-- | server/inputs-channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/inputs-channel.h b/server/inputs-channel.h index 31574b5c..4070a237 100644 --- a/server/inputs-channel.h +++ b/server/inputs-channel.h @@ -40,5 +40,6 @@ int inputs_channel_set_tablet(InputsChannel *inputs, SpiceTabletInstance *tablet int inputs_channel_has_tablet(InputsChannel *inputs); void inputs_channel_detach_tablet(InputsChannel *inputs, SpiceTabletInstance *tablet); RedsState* spice_tablet_state_get_server(SpiceTabletState *dev); +RedsState* spice_kbd_state_get_server(SpiceKbdState *dev); #endif |