oops, motif noBorder hint was slightly broken

svn path=/trunk/kdebase/kwin/; revision=55753
This commit is contained in:
Matthias Ettrich 2000-07-08 12:08:41 +00:00
parent 4bec1c366d
commit ad1f6da5a2

View file

@ -148,7 +148,8 @@ Client* Workspace::clientFactory( WId w )
{
NETWinInfo ni( qt_xdisplay(), w, root, NET::WMWindowType );
if ( ni.windowType() == NET::Normal && Motif::noBorder( w ) )
if ( (ni.windowType() == NET::Normal || ni.windowType() == NET::Unknown)
&& Motif::noBorder( w ) )
return new NoBorderClient( this, w );
switch ( ni.windowType() ) {