Copy effective window type in Deleted

Summary:
The window type can be adjusted by rules, so we probably would like to have
effective window type instead of direct.

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17087
icc-effect-5.17.5
Vlad Zagorodniy 2018-11-21 23:55:22 +02:00
parent 24f57310ba
commit 1e73ae4c47
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void Deleted::copyToDeleted(Toplevel* c)
m_layer = c->layer();
m_frame = c->frameId();
m_opacity = c->opacity();
m_type = c->windowType(true);
m_type = c->windowType();
m_windowRole = c->windowRole();
if (WinInfo* cinfo = dynamic_cast< WinInfo* >(info))
cinfo->disable();