title: Xlib - focus mode
body: <p>I'm writing a simple window manager (using xlib) for school and I have one problem. I really don't like the default X11 focus mode: 'sloppy focus' (the focus follows the mouse pointer) so I want to change that behavior. </p>
  
  <p>I'm overriding the EnterNotify event but I still have sloppy focus. Can someone please show me the right direction?</p>
  
  <p>Thanks</p>