diff -Nru python-xlib-0.12-old/Xlib/protocol/display.py python-xlib-0.12/Xlib/protocol/display.py --- python-xlib-0.12-old/Xlib/protocol/display.py 2002-02-25 12:09:23.000000000 +0100 +++ python-xlib-0.12/Xlib/protocol/display.py 2006-02-08 21:28:44.761931008 +0100 @@ -527,7 +527,7 @@ # We're the recieving thread, parse the data if recieving: try: - recv = self.socket.recv(2048) + recv = self.socket.recv(4096) except socket.error, err: self.close_internal('server: %s' % err[1]) raise self.socket_error