Commit e72a8d98 authored by Marco Martin's avatar Marco Martin Committed by Nate Graham
Browse files

Use the osd window type

using the proper osd window ttpe forbids it to minimize, maximize or tile


(cherry picked from commit 5d3dbac4)
parent a917bf19
Pipeline #247789 passed with stage
in 1 minute
......@@ -69,6 +69,7 @@ void Osd::showActionSelector()
newGeometry.moveCenter(screen ? screen->geometry().center() : qGuiApp->primaryScreen()->geometry().center());
KWindowSystem::setState(m_osdActionSelector->winId(), NET::SkipPager | NET::SkipSwitcher | NET::SkipTaskbar);
KWindowSystem::setType(m_osdActionSelector->winId(), NET::OnScreenDisplay);
Supports Markdown
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