diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index eeff8801d3f0..c5129ed4536c 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5651,6 +5651,12 @@
false
+
+
+ Determines whether the interactive screenshot mode should be enabled.
+
+ false
+
Determines whether the usage information (like what actions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 800a6ecfe78d..5f921c2b5da8 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -198,9 +198,9 @@ void VclContainer::Command(const CommandEvent& rCEvt)
{
if (rCEvt.IsMouseEvent() && CommandEventId::ContextMenu == rCEvt.GetCommand())
{
- const bool bIsExperimentalMode(officecfg::Office::Common::Misc::ExperimentalMode::get());
+ const bool bScreenshotMode(officecfg::Office::Common::Misc::ScreenshotMode::get());
- if (bIsExperimentalMode)
+ if (bScreenshotMode)
{
bool bVisibleChildren(false);
vcl::Window* pChild(nullptr);
@@ -326,7 +326,7 @@ void VclContainer::Command(const CommandEvent& rCEvt)
// consume event when:
// - CommandEventId::ContextMenu
- // - bIsExperimentalMode
+ // - bScreenshotMode
// - bVisibleChildren
return;
}