X setInputFocus - dwm and SFML

193 Views Asked by At

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:

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  

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.

0

There are 0 best solutions below