Detect window manager using KWindowSystem
paulolieuthier at gmail.com
Fri Oct 17 13:56:16 BST 2014
here I'm again trying to use KWindowSystem to the benefit of LXQt.
Thanks for KF5! =D
I'm now trying to check if there is an active window manager, for
lxqt-session. That's what I'm doing:
NETRootInfo rootInfo(QX11Info::connection(), NET::Supported);
qDebug() << "SupportingWMCheck: " <<
That appears to be the correct way to check it, after I examined
KWindowSystem's source code. It works perfectly with Openbox, but not
for KWin. I keep getting "true" event after I kill KWin. Is that
something missing from my code? Or am I really going in the wrong
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-core-devel