Comment 3 for bug 915389

This reproduces the bug:

  strace python -c 'from gi.repository import GLib, Gdk, Wnck; s = Wnck.Screen.get_default(); GLib.MainLoop().run()'

After that, any keypress in any window, and any window focus change event causes a wakeup. This might be inherent to what wnck does, but it needs a way to say "I am not interested in events any more". You can't unref() the screen object.

I'll check if that's intended and there is a cleanup function, or whether that's a real bug in wnck.