Open GoogleCodeExporter opened 9 years ago
This patch solves the issue for me:
Index: pyglet/window/xlib/__init__.py
===================================================================
--- pyglet/window/xlib/__init__.py (revision 2449)
+++ pyglet/window/xlib/__init__.py (working copy)
@@ -503,12 +503,6 @@
# only once, in which case attributes.x/y give the offset from
# the frame to the content window. Better solution would be
# to use _NET_FRAME_EXTENTS, where supported.
- attributes = xlib.XWindowAttributes()
- xlib.XGetWindowAttributes(self._x_display, self._window,
- byref(attributes))
- # XXX at least under KDE's WM these attrs are both 0
- x -= attributes.x
- y -= attributes.y
xlib.XMoveWindow(self._x_display, self._window, x, y)
Original comment by pyalot@gmail.com
on 12 Aug 2009 at 5:25
Fixed with: http://hg.codeflow.org/pyglet/rev/45c09074bc16
Original comment by pyalot@gmail.com
on 14 Aug 2009 at 12:53
Original comment by Nicolas.Rougier@gmail.com
on 16 Aug 2009 at 8:08
Unable to reproduce on OS X, seems to be Linux-specific.
Original comment by m.e.w.ol...@gmail.com
on 16 Aug 2009 at 3:55
[deleted comment]
Original comment by Adam.JT...@gmail.com
on 27 Apr 2012 at 10:01
Original issue reported on code.google.com by
pyalot@gmail.com
on 7 Aug 2009 at 4:02Attachments: