[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Detect window manager using KWindowSystem
From: Paulo Lieuthier <paulolieuthier () gmail ! com>
Date: 2014-10-17 12:56:16
Message-ID: 544111F0.8070407 () gmail ! com
[Download RAW message or body]
Hello again,
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: " <<
rootInfo.isSupported(NET::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
direction here?
Thanks in advance.
Paulo Lieuthier
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello again,<br>
<br>
here I'm again trying to use KWindowSystem to the benefit of LXQt.
Thanks for KF5! =D<br>
I'm now trying to check if there is an active window manager, for
lxqt-session. That's what I'm doing:<br>
<blockquote>NETRootInfo rootInfo(QX11Info::connection(),
NET::Supported);<br>
qDebug() << "SupportingWMCheck: " <<
rootInfo.isSupported(NET::SupportingWMCheck);<br>
</blockquote>
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
direction here?<br>
<br>
Thanks in advance.<br>
Paulo Lieuthier<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic