commit 80424d2854f8cb8978fe845fa6dee1d9e5bd8bcc
parent f5a03f4d051428c92dc90e8c54d627e9506b669e
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date: Sun, 14 Apr 2024 09:14:58 -0400
passthrough for toggle custom style switch
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/rosenrot.c b/rosenrot.c
@@ -252,6 +252,12 @@ int handle_shortcut(func id, GtkNotebook* notebook)
webkit_web_view_go_forward(view);
break;
+ case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */
+ if (custom_style_enabled)
+ custom_style_enabled = 0;
+ else
+ custom_style_enabled = 1;
+ // break; passthrough
case refresh:
webkit_web_view_reload(view);
break;
@@ -310,12 +316,6 @@ int handle_shortcut(func id, GtkNotebook* notebook)
gtk_window_fullscreen(window);
is_fullscreen = !is_fullscreen;
break;
- case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */
- if (custom_style_enabled)
- custom_style_enabled = 0;
- else
- custom_style_enabled = 1;
- break;
case show_searchbar:
toggle_bar(notebook, _SEARCH);
break;