diff options
author | Sven Gothel <[email protected]> | 2011-11-26 03:34:28 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-26 03:34:28 +0100 |
commit | 94bdf90b3a8ad76f2d94eadb2b46cd62c70033da (patch) | |
tree | df690f3bb5f5b56c0cb4d679f33508a04d088261 /src/nativewindow/classes/jogamp | |
parent | 0bcf2c35e96cbf7a1e2537448f9603d7d487cf86 (diff) |
X11AWTGraphicsConfigurationFactory: Use lock: owner ? AWT-Lock : X11-AWT-Lock
Diffstat (limited to 'src/nativewindow/classes/jogamp')
-rw-r--r-- | src/nativewindow/classes/jogamp/nativewindow/x11/awt/X11AWTGraphicsConfigurationFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/x11/awt/X11AWTGraphicsConfigurationFactory.java b/src/nativewindow/classes/jogamp/nativewindow/x11/awt/X11AWTGraphicsConfigurationFactory.java index 252a97078..a525b1859 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/x11/awt/X11AWTGraphicsConfigurationFactory.java +++ b/src/nativewindow/classes/jogamp/nativewindow/x11/awt/X11AWTGraphicsConfigurationFactory.java @@ -110,7 +110,7 @@ public class X11AWTGraphicsConfigurationFactory extends GraphicsConfigurationFac owner = true; } final ToolkitLock lock = owner ? - NativeWindowFactory.getNullToolkitLock() : // own non-shared X11 display connection, no lock + NativeWindowFactory.getDefaultToolkitLock(NativeWindowFactory.TYPE_AWT) : // own non-shared X11 display connection, no X11 lock NativeWindowFactory.createDefaultToolkitLock(NativeWindowFactory.TYPE_X11, NativeWindowFactory.TYPE_AWT, displayHandle); final X11GraphicsDevice x11Device = new X11GraphicsDevice(displayHandle, AbstractGraphicsDevice.DEFAULT_UNIT, lock, owner); final X11GraphicsScreen x11Screen = new X11GraphicsScreen(x11Device, awtScreen.getIndex()); |