In Xlib/xobject/drawable.py the definition of
grab_button in the Window class is incorrect. It
misses passing the cursor argument. The function
should read:
def grab_button(self, button, modifiers,
owner_events, event_mask,
pointer_mode, keyboard_mode,
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.
Logged In: YES
user_id=1175208
Fixed in CVS (rev 1.12 of the file in CVS, 2002), but not
released yet.