Xi: consistenly name reply structs "reply" instead of "rep"

Preparation for future use of generic reply assembly macros.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-04 16:11:24 +01:00
committed by Enrico Weigelt
parent 36503b11b7
commit dbbbf14a83
21 changed files with 138 additions and 138 deletions

View File

@@ -87,25 +87,25 @@ ProcXGetDeviceFocus(ClientPtr client)
focus = dev->focus;
xGetDeviceFocusReply rep = {
xGetDeviceFocusReply reply = {
.RepType = X_GetDeviceFocus,
.time = focus->time.milliseconds,
.revertTo = focus->revert,
};
if (focus->win == NoneWin)
rep.focus = None;
reply.focus = None;
else if (focus->win == PointerRootWin)
rep.focus = PointerRoot;
reply.focus = PointerRoot;
else if (focus->win == FollowKeyboardWin)
rep.focus = FollowKeyboard;
reply.focus = FollowKeyboard;
else
rep.focus = focus->win->drawable.id;
reply.focus = focus->win->drawable.id;
if (client->swapped) {
swapl(&rep.focus);
swapl(&rep.time);
swapl(&reply.focus);
swapl(&reply.time);
}
return X_SEND_REPLY_SIMPLE(client, rep);
return X_SEND_REPLY_SIMPLE(client, reply);
}