-
Committer:
Martin Pitt
-
Date:
2012-01-24 08:14:04 UTC
-
Revision ID:
martin.pitt@ubuntu.com-20120124081404-l9q1v9bn5nyhoq0w
Use wnck_shutdown() if available.
dnd_has_one_fullscreen_window() initializes libwnck, which causes notify-osd to
unnecessarily wake up on each focus change and keyboard event, even if there
are no notification bubbles for a long time.
To fix this, check if libwnck has the new wnck_shutdown() function and use it
if available.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642692
Bug-Ubuntu: https://launchpad.net/bugs/915389