title: X setInputFocus - dwm and SFML
body: <p>I'm using Arch Linux with dwm window manager (yup, I know it's not longer supported). Currently I'm developing small application in C++ using SFML graphics library. Whenever I try to run any application with this library I get this error:</p>
  
  <pre><code>X Error of failed request:  BadMatch (invalid parameter attributes)
    Major opcode of failed request:  42 (X_SetInputFocus)
    Serial number of failed request:  80
    Current serial number in output stream:  89  
  </code></pre>
  
  <p>Xorg logs print nothing, I also tried installing xlibs (but it was already installed), different version of SFML, dwm, getting drunk, everything. Funny thing is that on my friend's notebook with the same version of SFMl and dwm (but on Ubuntu) - everything works fine.
  If it's not possible to get any answer connected exactly with this problem, 
  I'd like to know if it's possible to get any logs connected with X input.
  Thanks.</p>