mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] x11: fix double initialization of event members
This commit is contained in:
parent
dbb18a6ecb
commit
9674421ce4
@ -106,11 +106,14 @@ static bool x11Init(SDL_SysWMinfo * info)
|
||||
if (x11.aNetReqFrameExtents)
|
||||
{
|
||||
XEvent reqevent =
|
||||
{
|
||||
.xclient =
|
||||
{
|
||||
.type = ClientMessage,
|
||||
.xclient.window = x11.window,
|
||||
.xclient.format = 32,
|
||||
.xclient.message_type = x11.aNetReqFrameExtents
|
||||
.window = x11.window,
|
||||
.format = 32,
|
||||
.message_type = x11.aNetReqFrameExtents
|
||||
}
|
||||
};
|
||||
|
||||
XSendEvent(x11.display, DefaultRootWindow(x11.display), False,
|
||||
|
Loading…
Reference in New Issue
Block a user