src/video/photon/SDL_ph_wm.c
changeset 1482 141528317f4f
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1481:deb22b9fe970 1482:141528317f4f
    59 {
    59 {
    60     PhWindowEvent_t windowevent;
    60     PhWindowEvent_t windowevent;
    61 
    61 
    62     SDL_Lock_EventThread();
    62     SDL_Lock_EventThread();
    63 
    63 
    64     SDL_memset( &windowevent, 0, sizeof (event) );
    64     SDL_memset(&windowevent, 0, sizeof(windowevent));
    65     windowevent.event_f = Ph_WM_HIDE;
    65     windowevent.event_f = Ph_WM_HIDE;
    66     windowevent.event_state = Ph_WM_EVSTATE_HIDE;
    66     windowevent.event_state = Ph_WM_EVSTATE_HIDE;
    67     windowevent.rid = PtWidgetRid(window);
    67     windowevent.rid = PtWidgetRid(window);
    68     PtForwardWindowEvent(&windowevent);
    68     PtForwardWindowEvent(&windowevent);
    69 
    69