summaryrefslogtreecommitdiff
path: root/server/inputs-channel.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-29 16:56:43 -0600
committerFrediano Ziglio <fziglio@redhat.com>2016-02-11 13:57:35 +0000
commitcca32779f579543b20fa24f4b6aec4cc6c0da6ea (patch)
treeabbbcc5e0790f5c505208e7c5b86cd2ab277bb30 /server/inputs-channel.h
parent2dfcf9c6e3e61bdc71f2c0eee50c1cb645750f1d (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.h1
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