Sure, here comes a test (Slick2d code more or less):
import org.lwjgl.LWJGLException;
import org.lwjgl.opengl.Display;
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class WontMoveTest extends Frame {
protected Canvas displayParent;
public WontMoveTest() {
removeAll();
setLayout(new BorderLayout());
setIgnoreRepaint(true);
displayParent = new Canvas() {
public final void addNotify() {
super.addNotify();
try {
startLWJGL();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
};
displayParent.setSize(getWidth(), getHeight());
add(displayParent);
displayParent.setFocusable(true);
displayParent.requestFocus();
displayParent.setIgnoreRepaint(true);
setSize(800, 600);
setVisible(true);
addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
}
public void startLWJGL() throws Exception {
new Thread() {
public void run() {
try {
Display.setParent(displayParent);
Display.setInitialBackground(0.5f, 0f, 0f);
Display.create();
displayParent.requestFocus();
} catch (LWJGLException e) {
throw new RuntimeException(e);
}
}
}.start();
}
public static void main(String[] args) {
WontMoveTest test = new WontMoveTest();
}
}
The window cant be moved. I'm using Ubuntu 11.04 / Gnome 2.32.1.
Hope it doesn't work for you either