getDisplayModes on Linux with two monitors

Started by haimat, March 14, 2015, 19:31:53

Previous topic - Next topic

haimat

When calling getDisplayModes() on a Linux machine with two monitors I only get one single resolution, that is, the current resolution set on the main monitor. However, calling xrandr directly gives me many more resolutions for both monitors.

Is this a bug in LWJGL, or am I missing something here?

spasi

LWJGL 2.x does not support multiple monitors. It is designed for a single window on a single monitor (the primary). If you need multiple window and/or multiple monitor support, try LWJGL 3.

haimat


haimat

I know this might be hard to answer, but is there maybe a rough ETA on when LWJGL 3 will be released?

spasi

The first official release (3.0a) was supposed to happen weeks ago, but I've had a horrible last couple of months at my day job and no free time at all. GLFW 3.1.1 is scheduled to be released next week, I'll try to make some time to get 3.0a out at the same time.

haimat