diff options
Diffstat (limited to 'server/reds.c')
-rw-r--r-- | server/reds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/reds.c b/server/reds.c index 289adee1..cca18b70 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3122,9 +3122,9 @@ SPICE_GNUC_VISIBLE int spice_server_add_interface(SpiceServer *s, if (inputs_set_tablet(SPICE_CONTAINEROF(sin, SpiceTabletInstance, base)) != 0) { return -1; } - reds_update_mouse_mode(reds); - if (reds->is_client_mouse_allowed) { - inputs_set_tablet_logical_size(reds->monitor_mode.x_res, reds->monitor_mode.y_res); + reds_update_mouse_mode(s); + if (s->is_client_mouse_allowed) { + inputs_set_tablet_logical_size(s->monitor_mode.x_res, s->monitor_mode.y_res); } } else if (strcmp(interface->type, SPICE_INTERFACE_PLAYBACK) == 0) { |