Selectable mouse type on Linux, part 6

This commit is contained in:
richardg867
2022-04-20 21:39:57 -03:00
committed by GitHub
parent 0af6605042
commit 7d6ad0d650

View File

@@ -509,10 +509,8 @@ void MainWindow::closeEvent(QCloseEvent *event) {
} }
qt_nvr_save(); qt_nvr_save();
config_save(); config_save();
#if defined __unix__ && !defined __HAIKU__ if (ui->stackedWidget->mouse_exit)
extern void xinput2_exit(); ui->stackedWidget->mouse_exit();
if (QApplication::platformName() == "xcb") xinput2_exit();
#endif
event->accept(); event->accept();
} }