summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-08-06 13:40:11 +0200
committer hap <happppp@users.noreply.github.com>2024-08-06 13:40:11 +0200
commitca65298fd4ca5fdd04ebf79cfd43ae4432af2692 (patch)
tree0b0e9cef2e52b3610bf6db61abf4dae877116371 /src/frontend
parent8c8c25f5e31fd5d6e4b4fc60baac6f33a6d97ea8 (diff)
ui pointer options: warning message if delay is set to 0.0s
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/ui/videoopt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/videoopt.cpp b/src/frontend/mame/ui/videoopt.cpp
index e955590b0d8..fb4fd14c358 100644
--- a/src/frontend/mame/ui/videoopt.cpp
+++ b/src/frontend/mame/ui/videoopt.cpp
@@ -370,6 +370,9 @@ bool menu_video_options::handle(event const *ev)
timeout -= remainder.count() ? remainder : increment;
ui().set_pointer_activity_timeout(m_target.index(), timeout);
changed = true;
+
+ if (!timeout.count())
+ machine().popmessage(_("Clickable artwork is still active when pointer is hidden."));
}
}
break;