Re: Detect window manager using KWindowSystem

2014-10-26 Thread Paulo Lieuthier
Sorry, I've had some problems with my email and the list. Well, checking the window manager's name is much more reliable, I tested with many window managers and it worked with all. That's how I'm doing: bool LxQtModuleManager::nativeEvent Filter(const QByteArray eventType, void * message, long *

Re: Re: Detect window manager using KWindowSystem

2014-10-19 Thread Martin Gräßlin
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

Re: Detect window manager using KWindowSystem

2014-10-19 Thread Thomas Lübking
On Sonntag, 19. Oktober 2014 15:08:51 CEST, Martin Gräßlin wrote: Might be worth adding it: bool NETRootInfo::isCompliantWindowManagerRunning() const? It certainly won't harm, but the question is: who actually needs such? WM's operate on the WM selection - and right now, i cannot imagine why

Re: Detect window manager using KWindowSystem

2014-10-18 Thread Thomas Lübking
On Freitag, 17. Oktober 2014 14:56:16 CEST, Paulo Lieuthier wrote: 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: