[Xfce4-commits] [apps/xfce4-terminal] 01/01: Switch tabs on mouse wheel with no accelerators pressed
noreply at xfce.org
noreply at xfce.org
Mon Aug 1 15:32:05 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.
commit 4a54f4ab9f9173f72df0e7561f8b24ce2b22e09f
Author: Igor <f2404 at yandex.ru>
Date: Mon Aug 1 16:32:00 2016 +0300
Switch tabs on mouse wheel with no accelerators pressed
---
terminal/terminal-window.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 9fb0343..997f292 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1063,6 +1063,9 @@ terminal_window_notebook_scroll_event (GtkNotebook *notebook,
terminal_return_val_if_fail (TERMINAL_IS_WINDOW (window), FALSE);
terminal_return_val_if_fail (GTK_IS_NOTEBOOK (notebook), FALSE);
+ if ((event->state & gtk_accelerator_get_default_mod_mask ()) != 0)
+ return FALSE;
+
switch (event->direction) {
case GDK_SCROLL_RIGHT:
case GDK_SCROLL_DOWN:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list