-
Committer:
Sam Spilsbury
-
Date:
2011-10-05 17:41:22 UTC
-
Revision ID:
sam.spilsbury@canonical.com-20111005174122-enhekro0uaoq3uht
screen->activeWindow () can have None as the window reference as it's
possible that there can momentarily be no _NET_ACTIVE_WINDOW (eg if focus
was moved to the root window or somesuch by a buggy application being
closed) so NULL check what comes from screen->findWindow.