i3bar: Bugfix: Don’t crash when tray_output is not set (Thanks fernandotcl)
This commit is contained in:
parent
77961ad9c8
commit
014c3e4b95
@ -1359,7 +1359,8 @@ void reconfig_windows() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!tray_configured &&
|
if (!tray_configured &&
|
||||||
strcasecmp("none", config.tray_output) != 0) {
|
(!config.tray_output ||
|
||||||
|
strcasecmp("none", config.tray_output) != 0)) {
|
||||||
init_tray();
|
init_tray();
|
||||||
tray_configured = true;
|
tray_configured = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user