about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators
diff options
context:
space:
mode:
authorptrhlm <ptrhlm0@gmail.com>2021-05-11 00:54:08 +0200
committerGitHub <noreply@github.com>2021-05-11 00:54:08 +0200
commit8e89366c2b85f852720ea51844d6dce36b1edeeb (patch)
tree10a3b958ea67e36f9da98111db42c67972c2051a /pkgs/applications/terminal-emulators
parent711ad46bd6133c749931d2b77f3345f1c05d189f (diff)
downloadnixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar.gz
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar.bz2
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar.lz
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar.xz
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.tar.zst
nixlib-8e89366c2b85f852720ea51844d6dce36b1edeeb.zip
termite: fix vte patch "expose-function-for-getting-the-selected-text" (#122467)
ZHF: #122042
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r--pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch b/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch
index 0a2c52722268..fe04434f4a2c 100644
--- a/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch
+++ b/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch
@@ -21,7 +21,7 @@
 +vte_terminal_get_selection(VteTerminal *terminal) noexcept
 +{
 +	g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL);
-+	return g_strdup (IMPL(terminal)->m_selection[VTE_SELECTION_PRIMARY]->str);
++	return g_strdup (IMPL(terminal)->m_selection[vte::to_integral(vte::platform::ClipboardType::PRIMARY)]->str);
 +}
 +
  /**