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
This commit is contained in:
Vlad Zagorodniy 2018-11-21 23:55:22 +02:00
parent 24f57310ba
commit 1e73ae4c47

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();