|
From: <ka...@us...> - 2011-09-26 20:04:06
|
Revision: 3641
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3641&view=rev
Author: kappa1
Date: 2011-09-26 20:03:59 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
limit scope of fix for Display.setParent when running in xembedded mode.
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2011-09-25 21:57:49 UTC (rev 3640)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java 2011-09-26 20:03:59 UTC (rev 3641)
@@ -299,7 +299,7 @@
private static native void synchronize(long display, boolean synchronize);
private static int globalErrorHandler(long display, long event_ptr, long error_display, long serial, long error_code, long request_code, long minor_code) throws LWJGLException {
- if (xembedded) return 0; // ignore X errors in xembeded mode to fix browser issues like dragging or switching tabs
+ if (xembedded && request_code == 42) return 0; // ignore X error in xembeded mode to fix a browser issue when dragging or switching tabs
if (display == getDisplay()) {
String error_msg = getErrorText(display, error_code);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|