View Full Version : Running glfw examples

11-11-2003, 06:59 PM
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.

11-12-2003, 02:16 PM
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... :p

11-12-2003, 05:57 PM
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.

11-23-2003, 06:53 AM
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