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
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user