From fb6b940f482ad8ebd22ad8f7529ac3bf8446ac18 Mon Sep 17 00:00:00 2001 From: Ryan Fonnesbeck Date: Fri, 1 May 2020 17:05:40 +0200 Subject: [PATCH] Disable special logic for pasting on Wayland --- terminatorlib/terminal.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 2f22dfb9..6a2a445b 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -927,12 +927,11 @@ class Terminal(Gtk.VBox): # Suppress double-click behavior return True - use_primary = (display_manager() != 'WAYLAND') if self.config['putty_paste_style']: middle_click = [self.popup_menu, (widget, event)] - right_click = [self.paste_clipboard, (use_primary, )] + right_click = [self.paste_clipboard, (True, )] else: - middle_click = [self.paste_clipboard, (use_primary, )] + middle_click = [self.paste_clipboard, (True, )] right_click = [self.popup_menu, (widget, event)] if event.button == self.MOUSEBUTTON_LEFT: