Commit 49214626 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port to non-deprecated NETWinInfo constructor

parent a80606d5
......@@ -445,7 +445,7 @@ void ProcessModelPrivate::queryForAndUpdateAllXWindows() {
continue; //Already added this window
//Get the PID for this window if we do not know it
NETWinInfo info( QX11Info::connection(), wid, QX11Info::appRootWindow(), NET::WMPid );
NETWinInfo info(QX11Info::connection(), wid, QX11Info::appRootWindow(), NET::WMPid, NET::Properties2());
qlonglong pid =;
......@@ -532,7 +532,7 @@ void ProcessModelPrivate::updateWindowInfo(WId wid, unsigned int properties, boo
/* Get PID for window */
NETWinInfo info( QX11Info::connection(), wid, QX11Info::appRootWindow(), NET::Properties(properties) & ~NET::WMIcon );
NETWinInfo info(QX11Info::connection(), wid, QX11Info::appRootWindow(), NET::Properties(properties) & ~NET::WMIcon, NET::Properties2());
if(!w) {
//We know that this must be a newWindow
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment