Skip to content

Commit 1f1f0b9

Browse files
committed
deimos.X11.Xproto: Fix definition of xEvent.clientMessage
Continuation of 4033891.
1 parent 23ac522 commit 1f1f0b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

deimos/X11/Xproto.d

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,8 +1152,7 @@ struct _xEvent {
11521152
struct ClientMessage{
11531153
CARD32 pad00;
11541154
Window window;
1155-
union
1156-
{
1155+
union U{
11571156
struct L{
11581157
Atom type;
11591158
INT32 longs0;
@@ -1181,8 +1180,8 @@ struct _xEvent {
11811180
Atom type;
11821181
INT8[20] bytes;
11831182
} B b;
1184-
}
1185-
}
1183+
} U u;
1184+
} ClientMessage clientMessage;
11861185
}
11871186
}
11881187
alias _xEvent xEvent;

0 commit comments

Comments
 (0)