Commit 9436a2c1 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Add missing window types to WindowInfo

Notification and ToolTip could be set but not queried for

Differential Revision: https://phabricator.kde.org/D20624
parent 97501f09
......@@ -102,6 +102,16 @@ NET::WindowType WindowInfo::windowType(NET::WindowTypes supported_types) const
return NET::OnScreenDisplay;
}
break;
case KWayland::Client::PlasmaShellSurface::Role::Notification:
if (supported_types & NET::NotificationMask) {
return NET::Notification;
}
break;
case KWayland::Client::PlasmaShellSurface::Role::ToolTip:
if (supported_types & NET::TooltipMask) {
return NET::Tooltip;
}
break;
default:
break;
}
......
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