Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHiroyuki Tanaka <myheroyuki@outlook.com>2023-08-10 18:11:40 +0300
committerHiroyuki Tanaka <myheroyuki@outlook.com>2023-08-10 18:11:40 +0300
commit1f8e411e0461251d3b2f07c0b6355987f7d0946e (patch)
tree672df0efc22b76a6c3bf63484ee1249460299f2c /src
parent8b1dcbc49d05ceeb1f90a65ba9e042f74c81e29a (diff)
Revert "Merge branch 'REM-2954' into 'master'"
This reverts merge request !2521
Diffstat (limited to 'src')
-rw-r--r--src/rcw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rcw.c b/src/rcw.c
index 6ecc4468d..cd1c51b20 100644
--- a/src/rcw.c
+++ b/src/rcw.c
@@ -2129,8 +2129,6 @@ static void rcw_toolbar_duplicate(GtkToolItem *toggle, RemminaConnectionWindow *
return;
if (!(cnnobj = rcw_get_visible_cnnobj(cnnwin))) return;
- remmina_file_save(cnnobj->remmina_file);
-
remmina_exec_command(REMMINA_COMMAND_CONNECT, cnnobj->remmina_file->filename);
}
@@ -2307,9 +2305,8 @@ static void rcw_toolbar_grab(GtkToolItem *toggle, RemminaConnectionWindow *cnnwi
if (!(cnnobj = rcw_get_visible_cnnobj(cnnwin))) return;
capture = gtk_toggle_tool_button_get_active(GTK_TOGGLE_TOOL_BUTTON(toggle));
-
+ remmina_file_set_int(cnnobj->remmina_file, "keyboard_grab", capture);
if (capture && cnnobj->connected) {
- remmina_file_set_int(cnnobj->remmina_file, "keyboard_grab", capture);
#if DEBUG_KB_GRABBING
printf("DEBUG_KB_GRABBING: Grabbing for button\n");
#endif