Running glfw examples

The example programs that come with glfw-2.4 are running intermittently on my machine. The error I get is:

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 24
Current serial number in output stream: 27

Anyone have any idea of what is going wrong? I have xfree 4.3 installed with 4496 drivers from nVidia. They were compiled with gcc 3.2.3.

Had the same, this bug occurs with certain windowmanagers in xfree. Simply comment the call to XSetInputFocus(…) out in lib/x11/x11_window.c on line ~800.

I reported this already to Marcus, but he seems too busy with life to activily develop GLFW nowadays. Hope GLFW is not dead… :stuck_out_tongue:

Cool! That worked. It must be because I’m using Fluxbox rather than KDE or GNOME. Not sure if it is a bug with Fluxbox or that glfw wasn’t tested on other window managers.

I’m maintaining the linux port of LWJGL (lwjgl.org) and I have seen that exact problem in Red Hat 9’s KDE too. I also ended up commenting the line out.

  • elias

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.