Only alternate title when not focused

v1.18.x
MrWaffle 11 years ago
parent 1980e945da
commit c1fea52a93

@ -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);

Loading…
Cancel
Save