diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-08 12:39:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-08 12:39:59 +0100 |
commit | 0257b5c9edba1fda1c8ada32fc9e2378c3847726 (patch) | |
tree | 66d3f034600d034552c057141c8ebec2a4048030 | |
parent | 29690bee381a9075ffa90a826a2b5a5a94a6673a (diff) |
gtk3: name CLIPBOARD and PRIMARY with different names
Change-Id: I4b8f36931f7ee19fe774a735a6d36ecd91de47ef
-rw-r--r-- | vcl/unx/gtk3/app/gtk3gtkinst.cxx | 2 |
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 ) |