summaryrefslogtreecommitdiff
path: root/src/tofi.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-27 10:09:17 +0100
committerPhil Jones <philj56@gmail.com>2022-06-27 10:09:17 +0100
commit3a2178ab907d05dd10c482d7b0c8ce5ca6f3bb7a (patch)
tree38423c523892403ca0fd2ded8e517dbc53a556ee /src/tofi.h
parent0fe263031db78d78203b183c14d84b1172d29822 (diff)
Add default output selection.
Tofi should now appear on whatever the compositor's default output is (usually the focused one), unless --output has been given.
Diffstat (limited to 'src/tofi.h')
-rw-r--r--src/tofi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tofi.h b/src/tofi.h
index ec3582b..7ad202c 100644
--- a/src/tofi.h
+++ b/src/tofi.h
@@ -29,6 +29,7 @@ struct tofi {
struct wl_shm *wl_shm;
struct zwlr_layer_shell_v1 *zwlr_layer_shell;
struct wl_list output_list;
+ struct output_list_element *default_output;
/* Wayland objects */
struct wl_keyboard *wl_keyboard;