comparison Gui/wm/ws.c @ 1782:dce42eebfda4

win->state fix
author pontscho
date Thu, 30 Aug 2001 19:44:39 +0000
parents 5e905bf5d715
children d44b0ce32791
comparison
equal deleted inserted replaced
1781:d94471abe4ca 1782:dce42eebfda4
505 int x,y; 505 int x,y;
506 Window child_window = 0; 506 Window child_window = 0;
507 507
508 l=wsSearch( Event->xany.window ); 508 l=wsSearch( Event->xany.window );
509 if ( l == -1 ) return !wsTrue; 509 if ( l == -1 ) return !wsTrue;
510 wsWindowList[l]->State=0;
510 switch( Event->type ) 511 switch( Event->type )
511 { 512 {
512 case ClientMessage: 513 case ClientMessage:
513 if ( Event->xclient.message_type == wsWindowList[l]->AtomProtocols ) 514 if ( Event->xclient.message_type == wsWindowList[l]->AtomProtocols )
514 { 515 {