diff options
author | myheroyuki <myheroyuki@outlook.com> | 2023-08-10 18:14:46 +0300 |
---|---|---|
committer | myheroyuki <myheroyuki@outlook.com> | 2023-08-10 18:14:46 +0300 |
commit | b2622049fb2276d878016cc32a36190aae84e458 (patch) | |
tree | 0cc5254fc4fbc4d1f38c423e0b552bb7c2b9a154 /src | |
parent | d78e91f9feed25bff68e22dfbd5bee5abf894aaa (diff) |
[REM-2954] Fix small mistake with updating remmina_file
Diffstat (limited to 'src')
-rw-r--r-- | src/rcw.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |