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;
|
ClientPtr pClient = pDamageExt->pClient;
|
||||||
DrawablePtr pDrawable = pDamageExt->pDrawable;
|
DrawablePtr pDrawable = pDamageExt->pDrawable;
|
||||||
xDamageNotifyEvent ev;
|
|
||||||
int i, x, y, w, h;
|
int i, x, y, w, h;
|
||||||
|
|
||||||
damageGetGeometry(pDrawable, &x, &y, &w, &h);
|
damageGetGeometry(pDrawable, &x, &y, &w, &h);
|
||||||
|
|
||||||
UpdateCurrentTimeIf();
|
UpdateCurrentTimeIf();
|
||||||
ev = (xDamageNotifyEvent) {
|
xDamageNotifyEvent ev = {
|
||||||
.type = DamageEventBase + XDamageNotify,
|
.type = DamageEventBase + XDamageNotify,
|
||||||
.level = pDamageExt->level,
|
.level = pDamageExt->level,
|
||||||
.drawable = pDamageExt->drawable,
|
.drawable = pDamageExt->drawable,
|
||||||
|
@ -184,7 +183,6 @@ ProcDamageQueryVersion(ClientPtr client)
|
||||||
xDamageQueryVersionReply rep = {
|
xDamageQueryVersionReply rep = {
|
||||||
.type = X_Reply,
|
.type = X_Reply,
|
||||||
.sequenceNumber = client->sequence,
|
.sequenceNumber = client->sequence,
|
||||||
.length = 0
|
|
||||||
};
|
};
|
||||||
|
|
||||||
REQUEST(xDamageQueryVersionReq);
|
REQUEST(xDamageQueryVersionReq);
|
||||||
|
|
Loading…
Reference in New Issue