Commit 85ef2831 authored by Martin Flöser's avatar Martin Flöser

Do not call into NETWinInfo in AbstractClient::setSkipPager

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:
parent f7f0a64d
......@@ -153,7 +153,6 @@ void AbstractClient::setSkipPager(bool b)
m_skipPager = b;
info->setState(b ? NET::SkipPager : NET::States(0), NET::SkipPager);
emit skipPagerChanged();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment