Don't show silence/activity notifications when the terminal is active
Review Request #128239 - Created June 18, 2016 and submitted
|Martin Tobias Holmedahl Sandsmark|
This avoids getting constant notifications when using a session which has the monitor activity/silence option turned on.
You still get notifications if konsole isn't focused or you're in another session/tab.
THe code looks fine. However, are we sure there aren't reason why someone might want notifications on the active tab? Say, start a command; walk away, do something non-computer related - waiting for notifiction. Or is this a rare usage?