From 2cbf4bb1c2678fa682543647cc9338ba3afa54a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 5 Jan 2007 16:02:51 +0000 Subject: [PATCH] Don't change input mask of all unmanaged windows. svn path=/branches/work/kwin_composite/; revision=620291 --- unmanaged.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unmanaged.cpp b/unmanaged.cpp index 2a8980a256..9c01cd5971 100644 --- a/unmanaged.cpp +++ b/unmanaged.cpp @@ -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;