Do not call into NETWinInfo in AbstractClient::setSkipPager
Summary: There's a call to a virtual doSetSkipPager for performing this call and Client implements it with the code which now is removed. This fixes a crash when using setSkipPager for a Wayland window. Test Plan: Crash which happens with a new test case (see dependent phab request) is fixed. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9865
This commit is contained in:
parent
f7f0a64db0
commit
85ef2831db
1 changed files with 0 additions and 1 deletions
|
@ -153,7 +153,6 @@ void AbstractClient::setSkipPager(bool b)
|
|||
return;
|
||||
m_skipPager = b;
|
||||
doSetSkipPager();
|
||||
info->setState(b ? NET::SkipPager : NET::States(0), NET::SkipPager);
|
||||
updateWindowRules(Rules::SkipPager);
|
||||
emit skipPagerChanged();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue