From dc83dc6725c7af7dc7345b6085ac8f281602946a Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 5 Mar 2024 10:24:45 -0700 Subject: Added some escape-hatch keybindings for Wetterhorn. Specifically a way to reload the plugin and switch vterms. This is important in case the plugin is borked and stops accepting keyboard, the user can switch to a vterm, fix the plugin and reload it to get things working again without running into data loss. --- harness/include/wl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'harness/include') diff --git a/harness/include/wl.h b/harness/include/wl.h index b8d4e14..903ba10 100644 --- a/harness/include/wl.h +++ b/harness/include/wl.h @@ -6,10 +6,11 @@ #include #include #include +#include #include #include -#include #include +#include #include #include #include @@ -68,6 +69,7 @@ struct tinywl_server { struct wl_list outputs; struct wl_listener new_output; + struct wlr_session *session; plugin_t plugin; }; -- cgit