Selectable mouse type on Linux, part 6
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user