<div dir="ltr"><div>Hi,<br><br>I just started experimenting with XCB through Python. I followed the explanations and full example at <a href="http://xcb.freedesktop.org/XcbPythonBinding/">http://xcb.freedesktop.org/XcbPythonBinding/</a><br><br>There was 1 small edit I had to make, to get this to work:<br><br></div>The original full example has this line:<br><div><br>    conn.core.ChangeProperty(PropMode.Replace, window, xcb.XA_WM_NAME, xcb.XA_STRING, 8, len(name), name)<br><br></div><div>which results in<br></div><div><br>AttributeError: 'module' object has no attribute 'XA_WM_NAME'<br><br><br>Changing it to the line below fixes the example:<br><br>    conn.core.ChangeProperty(PropMode.Replace, window, Atom.WM_NAME, Atom.STRING, 8, len(name), name)<br><br><br><br></div><div>This is on Ubuntu 14.04, python 2.7.6, xpyb 1.3.1-1, libxcb 1.10-2<br><br><br></div><div>Kind regards,<br><br></div><div>Pieter-Jan<br></div></div>