Detect window manager using KWindowSystem

Martin Gräßlin mgraesslin at kde.org
Sun Oct 19 14:08:51 BST 2014


On Saturday 18 October 2014 15:34:53 Thomas Lübking wrote:
> You MUST check the hinted support window anyway, because if the WM was
> killed -9 or -11 it will unlikely (in case of -9 "no way") have withdrawn
> any root property and your findings based upon this data alone would be
> wrong.
> 
> There's no convenience function for that in KWindowSystem, is there?
> (I don't see it)

I just looked at the API as well and also cannot see a convenience function. 
Might be worth adding it:

bool NETRootInfo::isCompliantWindowManagerRunning() const?

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141019/6f61f9e6/attachment.sig>
-------------- next part --------------
_______________________________________________
kwin mailing list
kwin at kde.org
https://mail.kde.org/mailman/listinfo/kwin


More information about the kde-core-devel mailing list