Only alternate title when not focused

This commit is contained in:
MrWaffle
2014-01-19 22:38:44 +01:00
parent 1980e945da
commit c1fea52a93

View File

@@ -407,7 +407,7 @@ var socket,
return; return;
} }
if (title.length > 0) { if (title.length > 0 && !app.isFocused) {
titleObj.titles[1] = title; titleObj.titles[1] = title;
if (titleObj.interval) { if (titleObj.interval) {
clearInterval(titleObj.interval); clearInterval(titleObj.interval);