From 498e2e55506705737e0b8f43c2084f3ef32623ca Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 19 Oct 2019 21:31:26 +0200 Subject: [PATCH] Add support for Clipboard backend on Termite, XTerm, UXTerm and Konsole on Linux. Fix #90 --- native/liblinuxbridge/bridge.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/native/liblinuxbridge/bridge.cpp b/native/liblinuxbridge/bridge.cpp index b32039f..55d1c99 100644 --- a/native/liblinuxbridge/bridge.cpp +++ b/native/liblinuxbridge/bridge.cpp @@ -440,6 +440,12 @@ int32_t is_current_window_terminal() { return 1; }else if (strstr(class_buffer, "URxvt") != NULL) { // Manjaro terminal return 1; + }else if (strstr(class_buffer, "XTerm") != NULL) { // XTerm and UXTerm + return 1; + }else if (strstr(class_buffer, "Termite") != NULL) { // Termite + return 1; + }else if (strstr(class_buffer, "konsole") != NULL) { // KDE Konsole + return 1; } }