diff options
author | Giovanni Panozzo <giovanni@panozzo.it> | 2017-10-24 13:14:20 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2017-10-24 23:17:03 +0300 |
commit | c0c4437a4187e3dc9d406276aa68a8639a5a8c09 (patch) | |
tree | 6a83fd61acc103364a50af803414fd0c69275e5b /remmina-plugins/nx/nx_plugin.c | |
parent | 4629b0503141258760b50abaae1c632249727272 (diff) |
Another fix for #1323
Diffstat (limited to 'remmina-plugins/nx/nx_plugin.c')
-rw-r--r-- | remmina-plugins/nx/nx_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remmina-plugins/nx/nx_plugin.c b/remmina-plugins/nx/nx_plugin.c index f1ed4a31d..88ba80643 100644 --- a/remmina-plugins/nx/nx_plugin.c +++ b/remmina-plugins/nx/nx_plugin.c @@ -477,8 +477,8 @@ static gboolean remmina_plugin_nx_start_session(RemminaProtocolWidget *gp) i = remmina_plugin_nx_service->file_get_int(remminafile, "quality", 0); remmina_nx_session_add_parameter(nx, "link", i > 2 ? "lan" : i == 2 ? "adsl" : i == 1 ? "isdn" : "modem"); remmina_nx_session_add_parameter(nx, "geometry", "%ix%i", - remmina_plugin_nx_service->file_get_int(remminafile, "resolution_width", 0), - remmina_plugin_nx_service->file_get_int(remminafile, "resolution_height", 0)); + remmina_plugin_nx_service->get_profile_remote_width(gp), + remmina_plugin_nx_service->get_profile_remote_height(gp)); remmina_nx_session_add_parameter(nx, "keyboard", remmina_kbtype); remmina_nx_session_add_parameter(nx, "client", "linux"); remmina_nx_session_add_parameter(nx, "media", "0"); |