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

Only on X11 for theses methods too

parent f3f8c8b4
Pipeline #40583 failed with stage
in 10 minutes and 10 seconds
......@@ -543,7 +543,9 @@ void KNote::slotApplyConfig()
setColor(mDisplayAttribute->foregroundColor(), mDisplayAttribute->backgroundColor());
updateLayout();
#if KDEPIM_HAVE_X11
slotUpdateShowInTaskbar();
#endif
resize(mDisplayAttribute->size());
}
......@@ -1061,7 +1063,9 @@ void KNote::showEvent(QShowEvent *)
if (mDisplayAttribute->isHidden()) {
// KWin does not preserve these properties for hidden windows
updateKeepAboveBelow(false);
#if KDEPIM_HAVE_X11
slotUpdateShowInTaskbar();
#endif
toDesktop(mDisplayAttribute->desktop());
move(mDisplayAttribute->position());
auto *attr
......
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