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:
authormyheroyuki <myheroyuki@outlook.com>2023-08-10 18:14:46 +0300
committermyheroyuki <myheroyuki@outlook.com>2023-08-10 18:14:46 +0300
commitb2622049fb2276d878016cc32a36190aae84e458 (patch)
tree0cc5254fc4fbc4d1f38c423e0b552bb7c2b9a154 /src
parentd78e91f9feed25bff68e22dfbd5bee5abf894aaa (diff)
[REM-2954] Fix small mistake with updating remmina_file
Diffstat (limited to 'src')
-rw-r--r--src/rcw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rcw.c b/src/rcw.c
index 6ecc4468d..1a464dde1 100644
--- a/src/rcw.c
+++ b/src/rcw.c
@@ -2308,8 +2308,12 @@ static void rcw_toolbar_grab(GtkToolItem *toggle, RemminaConnectionWindow *cnnwi
capture = gtk_toggle_tool_button_get_active(GTK_TOGGLE_TOOL_BUTTON(toggle));
- if (capture && cnnobj->connected) {
+ if (cnnobj->connected){
remmina_file_set_int(cnnobj->remmina_file, "keyboard_grab", capture);
+ }
+
+ if (capture && cnnobj->connected) {
+
#if DEBUG_KB_GRABBING
printf("DEBUG_KB_GRABBING: Grabbing for button\n");
#endif