diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 96fe899b..978606a6 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -260,7 +260,7 @@ struct bar_config { | |||
260 | 260 | ||
261 | #if HAVE_TRAY | 261 | #if HAVE_TRAY |
262 | char *icon_theme; | 262 | char *icon_theme; |
263 | const char *tray_bindings[10]; // mouse buttons 0-9 | 263 | struct wl_list tray_bindings; // struct tray_binding::link |
264 | list_t *tray_outputs; // char * | 264 | list_t *tray_outputs; // char * |
265 | int tray_padding; | 265 | int tray_padding; |
266 | #endif | 266 | #endif |
@@ -272,6 +272,14 @@ struct bar_binding { | |||
272 | char *command; | 272 | char *command; |
273 | }; | 273 | }; |
274 | 274 | ||
275 | #if HAVE_TRAY | ||
276 | struct tray_binding { | ||
277 | uint32_t button; | ||
278 | const char *command; | ||
279 | struct wl_list link; // struct tray_binding::link | ||
280 | }; | ||
281 | #endif | ||
282 | |||
275 | struct border_colors { | 283 | struct border_colors { |
276 | float border[4]; | 284 | float border[4]; |
277 | float background[4]; | 285 | float background[4]; |