diff --git a/frontend/mainwindow.cpp b/frontend/mainwindow.cpp index fe26fc8..90e0d3b 100644 --- a/frontend/mainwindow.cpp +++ b/frontend/mainwindow.cpp @@ -268,7 +268,7 @@ void MainWindow::ScreenGeometryChanged(QRect rect) { void MainWindow::centerToScreen(QWidget* widget) { if(!widget) return; - KWindowSystem::setState(this->winId(),NET::SkipTaskbar | NET::SkipPager); + KWindowSystem::setState(this->winId(),NET::SkipTaskbar | NET::SkipPager | NET::SkipSwitcher); QRect desk_rect = qApp->screenAt(QCursor::pos())->geometry(); int desk_x = desk_rect.width(); int desk_y = desk_rect.height(); @@ -446,7 +446,7 @@ bool MainWindow::eventFilter(QObject *watched, QEvent *event) if (event->type() == QEvent::Close) { event->ignore(); tryHideMainwindow(); - return true; +// return true; } }