+ if (client == NULL) {
+ /* says a client was not found for the event!
+ this is important whether the event is a valid type for us or
+ not! this makes the evil known as mozilla not DESTROY my
+ precious wm!! YES ITS FIVE AM AND I AM NOT SANE RIGHT NOW. FOCUS
+ EVENTS WILL DRIVE YOU MAD.
+ */
+ e->xfocus.window = None;
+ }
+
+ /* NotifyAncestor is not ignored in FocusIn like it is in FocusOut
+ because of RevertToPointerRoot. If the focus ends up reverting to
+ pointer root on a workspace change, then the FocusIn event that we
+ want will be of type NotifyAncestor. This situation does not occur
+ for FocusOut, so it is safely ignored there.
+ */