# Not getting WM events

**URL:** <https://discourse.libsdl.org/t/not-getting-wm-events/14815>\
**Category:** SDL Development\
**Created:** [August 20, 2007, 7:46pm UTC](https://discourse.libsdl.org/t/not-getting-wm-events/14815 "2007-08-20T19:46:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Gambetta](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/gabriel_gambetta/32/4004_2.png) [@Gabriel\_Gambetta](https://discourse.libsdl.org/u/Gabriel_Gambetta)\
**Post date:** [August 20, 2007, 7:46pm UTC](https://discourse.libsdl.org/t/not-getting-wm-events/14815/1 "2007-08-20T19:46:17Z")

</div>

Hi all,

I need to get and process the WM\_DISPLAYCHANGE windows message. I’ve enabled  
the event with SDL\_EventState right after initing the event thread, but I’m  
not getting this message. In fact I’m not getting ANY SDL\_SYSWMEVENT. Any  
ideas? What should I look for?

–Gabriel
