Don't track InputOnly windows.
svn path=/branches/work/kwin_composite/; revision=560591
This commit is contained in:
parent
4999a83118
commit
64bf5bc51e
2 changed files with 3 additions and 1 deletions
|
@ -32,6 +32,8 @@ bool Unmanaged::track( Window w )
|
|||
XWindowAttributes attr;
|
||||
if( !XGetWindowAttributes(display(), w, &attr))
|
||||
return false;
|
||||
if( attr.c_class == InputOnly )
|
||||
return false;
|
||||
setHandle( w );
|
||||
geom = QRect( attr.x, attr.y, attr.width, attr.height );
|
||||
vis = attr.visual;
|
||||
|
|
|
@ -360,7 +360,7 @@ void Workspace::init()
|
|||
XGetWindowAttributes(display(), wins[i], &attr);
|
||||
if (attr.override_redirect )
|
||||
{
|
||||
if( attr.map_state != IsUnmapped && compositing())
|
||||
if( attr.map_state != IsUnmapped && attr.c_class != InputOnly && compositing())
|
||||
createUnmanaged( wins[ i ] );
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue