summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/app/gtk3gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/app/gtk3gtkinst.cxx b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
index 76b44dacd912..d8c278f62f8c 100644
--- a/vcl/unx/gtk3/app/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
@@ -592,7 +592,7 @@ void VclGtkClipboard::setContents(
OUString VclGtkClipboard::getName() throw( RuntimeException, std::exception )
{
- return OUString( "CLIPBOARD" );
+ return (m_nSelection == GDK_SELECTION_CLIPBOARD) ? OUString("CLIPBOARD") : OUString("PRIMARY");
}
sal_Int8 VclGtkClipboard::getRenderingCapabilities() throw( RuntimeException, std::exception )