aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-header-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-header-item.c')
-rw-r--r--widgets/e-table/e-table-header-item.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c
index bbad304182..ebe2c6434e 100644
--- a/widgets/e-table/e-table-header-item.c
+++ b/widgets/e-table/e-table-header-item.c
@@ -1236,8 +1236,11 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e)
break;
case GDK_BUTTON_PRESS:
- convert (canvas, e->button.x, e->button.y, &x, &y);
+ if (e->button.button > 3)
+ return FALSE;
+ convert (canvas, e->button.x, e->button.y, &x, &y);
+
if (is_pointer_on_division (ethi, x, &start, &col) && e->button.button == 1){
ETableCol *ecol;