Fix issue #40 (xlib typo)
Fix issue #40 (xlib typo)


Index: pyglet/window/xlib/__init__.py
===================================================================
--- pyglet/window/xlib/__init__.py	(revision 691)
+++ pyglet/window/xlib/__init__.py	(working copy)
@@ -432,7 +432,7 @@
             window_attributes = xlib.XSetWindowAttributes()
             if visual_id != default_visual_id:
                 window_attributes.colormap = xlib.XCreateColormap(
-                    self._display, root, visual, AllocNone)
+                    self._display, root, visual, xlib.AllocNone)
             else:
                 window_attributes.colormap = xlib.XDefaultColormap(
                     self._display, self._screen_id)

mammadori/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,theblacklion/pyglet,theblacklion/pyglet,oktayacikalin/pyglet,mammadori/pyglet,oktayacikalin/pyglet,oktayacikalin/pyglet,mammadori/pyglet,theblacklion/pyglet,theblacklion/pyglet,mammadori/pyglet,oktayacikalin/pyglet