fix(tray): Ignore if detached

Refs #383
This commit is contained in:
Michael Carlberg 2017-01-26 12:46:09 +01:00
parent 897b6e0221
commit 162e77793a

View File

@ -322,7 +322,7 @@ void bar::parse(string&& data, bool force) {
auto rect = m_opts.inner_area();
if (m_tray && m_tray->settings().configured_slots) {
if (m_tray && !m_tray->settings().detached && m_tray->settings().configured_slots) {
auto trayalign = m_tray->settings().align;
auto traywidth = m_tray->settings().configured_w;
if (trayalign == alignment::LEFT) {