diff --git a/unmanaged.cpp b/unmanaged.cpp index 5b0a2e335f..1f7badb632 100644 --- a/unmanaged.cpp +++ b/unmanaged.cpp @@ -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; diff --git a/workspace.cpp b/workspace.cpp index 34aef32842..a3c5694508 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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; }