parent
7b32b4214d
commit
21e9313c10
10 changed files with 128 additions and 121 deletions
|
|
@ -223,6 +223,9 @@ pid_t CWindow::getPID() {
|
|||
|
||||
wl_client_get_credentials(wl_resource_get_client(m_uSurface.xdg->resource), &PID, nullptr, nullptr);
|
||||
} else {
|
||||
if (!m_bIsMapped || !m_bMappedX11)
|
||||
return -1;
|
||||
|
||||
PID = m_uSurface.xwayland->pid;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue