[client] x11: fix double initialization of event members

This commit is contained in:
Geoffrey McRae 2021-01-26 00:00:59 +11:00
parent dbb18a6ecb
commit 9674421ce4

View File

@ -107,10 +107,13 @@ static bool x11Init(SDL_SysWMinfo * info)
{ {
XEvent reqevent = XEvent reqevent =
{ {
.type = ClientMessage, .xclient =
.xclient.window = x11.window, {
.xclient.format = 32, .type = ClientMessage,
.xclient.message_type = x11.aNetReqFrameExtents .window = x11.window,
.format = 32,
.message_type = x11.aNetReqFrameExtents
}
}; };
XSendEvent(x11.display, DefaultRootWindow(x11.display), False, XSendEvent(x11.display, DefaultRootWindow(x11.display), False,