
Right now when a user types their password to unlock their session we end up getting an unlock signal from GDM right away. We then proceed to deactivate the screensaver before the user has a chance to read his messages. This commit makes sure we clear out the message queue before processing the deactivation request. https://bugzilla.gnome.org/show_bug.cgi?id=704347