mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +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)
|
if (x11.aNetReqFrameExtents)
|
||||||
{
|
{
|
||||||
XEvent reqevent =
|
XEvent reqevent =
|
||||||
|
{
|
||||||
|
.xclient =
|
||||||
{
|
{
|
||||||
.type = ClientMessage,
|
.type = ClientMessage,
|
||||||
.xclient.window = x11.window,
|
.window = x11.window,
|
||||||
.xclient.format = 32,
|
.format = 32,
|
||||||
.xclient.message_type = x11.aNetReqFrameExtents
|
.message_type = x11.aNetReqFrameExtents
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
XSendEvent(x11.display, DefaultRootWindow(x11.display), False,
|
XSendEvent(x11.display, DefaultRootWindow(x11.display), False,
|
||||||
|
Loading…
Reference in New Issue
Block a user