[gnome-terminal] window: Do not change New Terminal's behavior on right click
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] window: Do not change New Terminal's behavior on right click
- Date: Fri, 16 Mar 2018 20:17:48 +0000 (UTC)
commit d6885c2a77eb48ba8c0d410139a7b49120b15bb8
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Mar 16 21:16:19 2018 +0100
window: Do not change New Terminal's behavior on right click
https://bugzilla.gnome.org/show_bug.cgi?id=794402
src/terminal-window.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 461ceb5..3e7f1fc 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -373,11 +373,9 @@ action_new_terminal_cb (GSimpleAction *action,
GdkEvent *event = gtk_get_current_event ();
if (event != NULL) {
GdkModifierType modifiers;
- guint button;
if ((gdk_event_get_state (event, &modifiers) &&
- (modifiers & gtk_accelerator_get_default_mod_mask () & GDK_CONTROL_MASK)) ||
- (gdk_event_get_button (event, &button) && (button == GDK_BUTTON_SECONDARY))) {
+ (modifiers & gtk_accelerator_get_default_mod_mask () & GDK_CONTROL_MASK))) {
/* Invert */
if (mode == TERMINAL_NEW_TERMINAL_MODE_WINDOW)
mode = TERMINAL_NEW_TERMINAL_MODE_TAB;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]