x11: only managed window need readTransient
X11Window::readTransient should not call setTransient for override-redirect windows. Signed-off-by: Hongfei Shang <shanghongfei@kylinos.cn>
This commit is contained in:
parent
cfe656e506
commit
6f5aa9e4f3
1 changed files with 3 additions and 0 deletions
|
@ -3207,6 +3207,9 @@ void X11Window::readTransientProperty(Xcb::TransientFor &transientFor)
|
|||
|
||||
void X11Window::readTransient()
|
||||
{
|
||||
if (isUnmanaged()) {
|
||||
return;
|
||||
}
|
||||
Xcb::TransientFor transientFor = fetchTransient();
|
||||
readTransientProperty(transientFor);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue