Attached a patch that uses the _NET_ACTIVE_WINDOW_ hint on the root X
window  to grab the current active window, and then checks if it's
resource_name is "evolution" and, if so, doesn't notify.

The patch adds two new files, but no new dependencies. Seems to work
fine after a morning of testing. I've left the old code as a fallback if
there is an issue getting the active window.

** Attachment added: "use_xorg_to_determine_active_window.patch"
   
http://launchpadlibrarian.net/24626499/use_xorg_to_determine_active_window.patch

-- 
When evolution window is active, notifications are still displayed for new mail
https://bugs.launchpad.net/bugs/342429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to