more netwm details

svn path=/trunk/kdebase/kwin/; revision=71162
icc-effect-5.14.5
Matthias Ettrich 2000-11-17 16:39:47 +00:00
parent 5b8bc65b2b
commit 2d401d3acc
1 changed files with 6 additions and 5 deletions

View File

@ -404,6 +404,11 @@ bool Workspace::workspaceEvent( XEvent * e )
XUngrabKeyboard( qt_xdisplay(), kwin_time );
}
if ( e->type == PropertyNotify || e->type == ClientMessage ) {
if ( netCheck( e ) )
return TRUE;
}
Client * c = findClient( e->xany.window );
if ( c )
return c->windowEvent( e );
@ -529,10 +534,6 @@ bool Workspace::workspaceEvent( XEvent * e )
break;
case FocusOut:
break;
case PropertyNotify:
case ClientMessage:
return netCheck( e );
break;
default:
if ( e->type == Shape::shapeEvent() ) {
c = findClient( ((XShapeEvent *)e)->window );
@ -1949,7 +1950,7 @@ bool Workspace::netCheck( XEvent* e )
if ( dirty & NET::DesktopNames )
saveDesktopSettings();
return FALSE;
return dirty != 0;
}
/*!