GHOST/X11: Incorrect WM_STATE access
authorCampbell Barton <ideasman42@gmail.com>
Sat, 19 Nov 2016 21:58:41 +0000 (08:58 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 19 Nov 2016 22:03:51 +0000 (09:03 +1100)
commit53a1b48321b73b7b6dd3e8fde5f1b58decbf20d7
tree24510ec288cbf0a94abae3319f899c3081b06965
parentdd82d70bc5eade5dddd6d20ef81eb81ba43463da
GHOST/X11: Incorrect WM_STATE access

This worked by accident because of struct padding,
treat state as a CARD32 as documented.

Matches wine-x11 usage.
intern/ghost/intern/GHOST_WindowX11.cpp