Don't change input mask of all unmanaged windows.
svn path=/branches/work/kwin_composite/; revision=620291
This commit is contained in:
parent
f8d7a5ec25
commit
2cbf4bb1c2
1 changed files with 1 additions and 1 deletions
|
@ -30,13 +30,13 @@ Unmanaged::~Unmanaged()
|
|||
|
||||
bool Unmanaged::track( Window w )
|
||||
{
|
||||
XSelectInput( display(), w, StructureNotifyMask );
|
||||
XWindowAttributes attr;
|
||||
if( !XGetWindowAttributes(display(), w, &attr))
|
||||
return false;
|
||||
if( attr.c_class == InputOnly )
|
||||
return false;
|
||||
setHandle( w );
|
||||
XSelectInput( display(), w, StructureNotifyMask );
|
||||
geom = QRect( attr.x, attr.y, attr.width, attr.height );
|
||||
vis = attr.visual;
|
||||
bit_depth = attr.depth;
|
||||
|
|
Loading…
Reference in a new issue