In Xlib/xobject/drawable.py the definition of
grab_button in the Window class is incorrect. It
misses passing the cursor argument. The function
def grab_button(self, button, modifiers,
confine_to, cursor, onerror = None):
request.GrabButton\(display = self.display, onerror = onerror, owner\_events = owner\_events, grab\_window = self.id, event\_mask = event\_mask, pointer\_mode = pointer\_mode, keyboard\_mode = keyboard\_mode, confine\_to = confine\_to,
cursor = cursor,
button = button,
modifiers = modifiers)
The cursor = cursor line was missing. I don't have CVS
access, otherwise, I'd fix it.
Log in to post a comment.