mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 11:03:46 +08:00
@@ -76,7 +76,7 @@ void MainWindow::closeSettings() {
|
||||
|
||||
bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
|
||||
// wake screen on tap
|
||||
if (event->type() == QEvent::MouseButtonPress) {
|
||||
if (event->type() == QEvent::MouseButtonPress || event->type() == QEvent::TouchBegin) {
|
||||
device.setAwake(true, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user