damage: minor code formatting cleanups
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
a79dd9b264
commit
659b1dfa00
|
@ -96,13 +96,12 @@ DamageExtNotify(DamageExtPtr pDamageExt, BoxPtr pBoxes, int nBoxes)
|
|||
{
|
||||
ClientPtr pClient = pDamageExt->pClient;
|
||||
DrawablePtr pDrawable = pDamageExt->pDrawable;
|
||||
xDamageNotifyEvent ev;
|
||||
int i, x, y, w, h;
|
||||
|
||||
damageGetGeometry(pDrawable, &x, &y, &w, &h);
|
||||
|
||||
UpdateCurrentTimeIf();
|
||||
ev = (xDamageNotifyEvent) {
|
||||
xDamageNotifyEvent ev = {
|
||||
.type = DamageEventBase + XDamageNotify,
|
||||
.level = pDamageExt->level,
|
||||
.drawable = pDamageExt->drawable,
|
||||
|
@ -184,7 +183,6 @@ ProcDamageQueryVersion(ClientPtr client)
|
|||
xDamageQueryVersionReply rep = {
|
||||
.type = X_Reply,
|
||||
.sequenceNumber = client->sequence,
|
||||
.length = 0
|
||||
};
|
||||
|
||||
REQUEST(xDamageQueryVersionReq);
|
||||
|
|
Loading…
Reference in New Issue