diff options
| author | Josh Rahm <rahm@google.com> | 2024-03-05 10:24:45 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2024-03-05 10:24:45 -0700 |
| commit | dc83dc6725c7af7dc7345b6085ac8f281602946a (patch) | |
| tree | 480e644bc144fbab444dd46c1fff4dcd4be74455 /harness/include | |
| parent | ba40cdae500f153633dc306c03b0709c2c6f0276 (diff) | |
| download | montis-dc83dc6725c7af7dc7345b6085ac8f281602946a.tar.gz montis-dc83dc6725c7af7dc7345b6085ac8f281602946a.tar.bz2 montis-dc83dc6725c7af7dc7345b6085ac8f281602946a.zip | |
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.
Diffstat (limited to 'harness/include')
| -rw-r--r-- | harness/include/wl.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <unistd.h> #include <wayland-server-core.h> #include <wlr/backend.h> +#include <wlr/backend/session.h> #include <wlr/render/allocator.h> #include <wlr/render/wlr_renderer.h> -#include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_compositor.h> +#include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_data_device.h> #include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_keyboard.h> @@ -68,6 +69,7 @@ struct tinywl_server { struct wl_list outputs; struct wl_listener new_output; + struct wlr_session *session; plugin_t plugin; }; |