From 965b4a6f71ab5a71acae21e0bb8e5d60a09cb77f Mon Sep 17 00:00:00 2001
From: lovetox <philipp@hoerist.com>
Date: Mon, 18 Jan 2021 21:40:43 +0100
Subject: [PATCH] =?UTF-8?q?ChatControlBase:=20Don=E2=80=99t=20unselect=20t?=
 =?UTF-8?q?ext=20after=20key=20press?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This clears the SELECTION Clipboard for example when pressing ALT + TAB
---
 gajim/chat_control_base.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gajim/chat_control_base.py b/gajim/chat_control_base.py
index cedd01c6b9..92574c2d4d 100644
--- a/gajim/chat_control_base.py
+++ b/gajim/chat_control_base.py
@@ -294,7 +294,6 @@ def _on_conv_textview_key_press_event(self, textview, event):
             return Gdk.EVENT_PROPAGATE
 
         # Focus the Message Input and resend the event
-        textview.unselect()
         self.msg_textview.grab_focus()
         self.msg_textview.get_toplevel().propagate_key_event(event)
         return Gdk.EVENT_STOP
-- 
GitLab