From 1e73ae4c471e774749debf9aa022aea3156d50a3 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Wed, 21 Nov 2018 23:55:22 +0200 Subject: [PATCH] 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 --- deleted.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deleted.cpp b/deleted.cpp index 0df6c36462..06f727db49 100644 --- a/deleted.cpp +++ b/deleted.cpp @@ -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();