From 3a2178ab907d05dd10c482d7b0c8ce5ca6f3bb7a Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 27 Jun 2022 10:09:17 +0100 Subject: 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. --- src/tofi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tofi.h') 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; -- cgit v1.2.3