lol

termite: fix vte patch "expose-function-for-getting-the-selected-text" (#122467)

ZHF: #122042

authored by

ptrhlm and committed by
GitHub
8e89366c 711ad46b

+1 -1
+1 -1
pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch
··· 21 21 +vte_terminal_get_selection(VteTerminal *terminal) noexcept 22 22 +{ 23 23 + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL); 24 - + return g_strdup (IMPL(terminal)->m_selection[VTE_SELECTION_PRIMARY]->str); 24 + + return g_strdup (IMPL(terminal)->m_selection[vte::to_integral(vte::platform::ClipboardType::PRIMARY)]->str); 25 25 +} 26 26 + 27 27 /**