-
Committer:
Martin Pitt
-
Date:
2012-02-02 12:28:54 UTC
-
mfrom:
(444.3.1 notify-osd)
-
Revision ID:
martin@piware.de-20120202122854-u3sswlhf4i1ram3j
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