X Error of failed request: BadWindow (invalid Window parameter)

Started by TheBoneJarmer, September 05, 2015, 15:30:09

Previous topic - Next topic

TheBoneJarmer

Hey guys,

I am not sure if this is related to GLFW or LWJGL and if it is a bug or not. But every time I close my game window, this message pops up in my terminal:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x0
  Serial number of failed request:  2270
  Current serial number in output stream:  2271


I am not entirely sure what it means and why it shows up. Also, it does not affect anything as far as I know. It only happens when I close my game window inside the main loop. If I press the close button in the title bar, it works fine. I am working on Ubuntu 14.04 LTS 64 bits. Please let me know if you need any code or something.

Thanks in advance!
-TBJ

Cornix

Perhaps you are trying to close the window twice, look over your code and check.

TheBoneJarmer