Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Pass an offset when creating events
Event creation now requires an offset to the parent. We know the offset is
always zero (we got it from PyBuffer_FromMemory after all...), but we need to
tell the Event constructors that.
  • Loading branch information
tych0 committed Apr 15, 2012
1 parent 2d2b0c6 commit a3982d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcb/protobj.c
Expand Up @@ -73,7 +73,7 @@ xpybEvent_create(xpybConn *conn, xcb_generic_event_t *e)
if (shim == NULL)
return NULL;

event = PyObject_CallFunctionObjArgs(type, shim, NULL);
event = PyObject_CallFunction(type, "Oi", shim, 0);
Py_DECREF(shim);
return event;
}
Expand Down

0 comments on commit a3982d2

Please sign in to comment.