Read more properties also for unmanaged windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=736251
This commit is contained in:
parent
a10061ed6f
commit
1bfe2b9afd
2 changed files with 6 additions and 3 deletions
|
@ -281,8 +281,8 @@ void Toplevel::getResourceClass()
|
|||
XClassHint classHint;
|
||||
if( XGetClassHint( display(), window(), &classHint ) )
|
||||
{
|
||||
// Qt3.2 and older had this all lowercase, Qt3.3 capitalized resource class
|
||||
// force lowercase, so that workarounds listing resource classes still work
|
||||
// Qt3.2 and older had this all lowercase, Qt3.3 capitalized resource class.
|
||||
// Force lowercase, so that workarounds listing resource classes still work.
|
||||
resource_name = QByteArray( classHint.res_name ).toLower();
|
||||
resource_class = QByteArray( classHint.res_class ).toLower();
|
||||
XFree( classHint.res_name );
|
||||
|
|
|
@ -56,7 +56,10 @@ bool Unmanaged::track( Window w )
|
|||
NET::WM2Opacity |
|
||||
0;
|
||||
info = new NETWinInfo( display(), w, rootWindow(), properties, 2 );
|
||||
|
||||
getResourceClass();
|
||||
getWindowRole();
|
||||
getWmClientLeader();
|
||||
getWmClientMachine();
|
||||
if( Extensions::shapeAvailable())
|
||||
XShapeSelectInput( display(), w, ShapeNotifyMask );
|
||||
detectShape( w );
|
||||
|
|
Loading…
Reference in a new issue