Commit d55375c0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated enum

parent 586cc655
......@@ -371,7 +371,7 @@ void WindowSystem::clearState(WId win, NET::States state)
if (state & NET::KeepAbove) {
qCDebug(KWAYLAND_KWS) << "This plugin does not support changing KeepAbove window state";
}
if (state & NET::StaysOnTop) {
if (state & NET::KeepAbove) {
qCDebug(KWAYLAND_KWS) << "This plugin does not support changing StaysOnTop window state";
}
if (state & NET::SkipPager) {
......@@ -432,7 +432,7 @@ void WindowSystem::setState(WId win, NET::States state)
if (state & NET::KeepAbove) {
qCDebug(KWAYLAND_KWS) << "This plugin does not support changing KeepAbove window state";
}
if (state & NET::StaysOnTop) {
if (state & NET::KeepAbove) {
qCDebug(KWAYLAND_KWS) << "This plugin does not support changing StaysOnTop window state";
}
if (state & NET::SkipPager) {
......
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