aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtCommon.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-21 22:18:20 +0200
committerSven Gothel <[email protected]>2012-09-21 22:18:20 +0200
commitba846a478d616327817dd530dbdcd9a786be5b7a (patch)
tree12bdeed9d2d1612ac18619e246163b31ebdde794 /src/newt/native/NewtCommon.h
parent495a1fbd591dfd9c428d9be660c3db33b7cb7aae (diff)
Fix Bug 621, JVM Crashes During X11 Shutdown while closing all unclosed display connections.x11_xinitthreads
This is a regression of JOGL commit f2cfb6119a3663715ed2d572643949b3bef58662 to fix Bug 610. Commit f2cfb6119a3663715ed2d572643949b3bef58662 closed all open display connections at JVM shutdown in order of their creation. This is required IF the driver is the proprietary ATI on X11. X11Util.setMarkAllDisplaysUnclosable(true) is called in this case. However, this behavior causes a SIGSEGV for other GPU driver, i.e. Nvidia :) This fix only closes the pending display connections in their respective order IF X11Util.getMarkAllDisplaysUnclosable() == true. Hence the 'new' cleanup as introduced in the offending commit is only performed on the erroneous ATI driver. Manually tested w/ TestGearsES2AWT, see it's commandline options for details.
Diffstat (limited to 'src/newt/native/NewtCommon.h')
0 files changed, 0 insertions, 0 deletions