mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
Compile without tray support
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
parent
89b97c5346
commit
3d158264e2
13 changed files with 35 additions and 25 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#include "swaybar/ipc.h"
|
||||
#include "swaybar/render.h"
|
||||
#include "swaybar/status_line.h"
|
||||
#include "swaybar/tray/icon.h"
|
||||
#include "swaybar/icon.h"
|
||||
#include "log.h"
|
||||
#include "background-image.h"
|
||||
#if HAVE_TRAY
|
||||
|
|
@ -759,9 +759,9 @@ uint32_t render_focused_window_icon(cairo_t *cairo,
|
|||
// TODO: Load correct theme
|
||||
list_add(themes, "Adwaita");
|
||||
|
||||
assert(output->bar->tray);
|
||||
assert(output->bar->tray->themes);
|
||||
char *icon_path = find_icon(output->bar->tray->themes,
|
||||
assert(output->bar);
|
||||
assert(output->bar->themes);
|
||||
char *icon_path = find_icon(output->bar->themes,
|
||||
basedirs,
|
||||
icon_name,
|
||||
target_size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue