diff --git a/components/fullscreenpanel.cpp b/components/fullscreenpanel.cpp index d42a9449..5af9b8e7 100644 --- a/components/fullscreenpanel.cpp +++ b/components/fullscreenpanel.cpp @@ -42,10 +42,8 @@ FullScreenPanel::~FullScreenPanel() void FullScreenPanel::showEvent(QShowEvent *event) { QQuickWindow::showEvent(event); - setWindowState(Qt::WindowFullScreen); KWindowSystem::setState(winId(), NET::SkipTaskbar); } - #include "fullscreenpanel.moc" diff --git a/containments/panel/package/contents/ui/SlidingPanel.qml b/containments/panel/package/contents/ui/SlidingPanel.qml index 84cebb2d..d2d7bc8c 100644 --- a/containments/panel/package/contents/ui/SlidingPanel.qml +++ b/containments/panel/package/contents/ui/SlidingPanel.qml @@ -40,7 +40,7 @@ FullScreenPanel { property alias fixedArea: fixedArea function open() { - window.visible = true; + window.showFullScreen(); peekAnim.running = true; } function close() { diff --git a/containments/taskpanel/package/contents/ui/TaskSwitcher.qml b/containments/taskpanel/package/contents/ui/TaskSwitcher.qml index a052fbf4..862fc795 100644 --- a/containments/taskpanel/package/contents/ui/TaskSwitcher.qml +++ b/containments/taskpanel/package/contents/ui/TaskSwitcher.qml @@ -83,7 +83,7 @@ FullScreenPanel { property alias to: internalAnim.to property alias from: internalAnim.from ScriptAction { - script: window.visible = true; + script: window.showFullScreen(); } NumberAnimation { id: internalAnim