X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/50e32bd5e91eded52c05dc8b564e94f87f78c034..c764e832cef2e0828e46762b66ca97cc5541686b:/disobedience/multidrag.c diff --git a/disobedience/multidrag.c b/disobedience/multidrag.c index 8b28c94..f4a5a76 100644 --- a/disobedience/multidrag.c +++ b/disobedience/multidrag.c @@ -92,8 +92,9 @@ static gboolean multidrag_button_press_event(GtkWidget *w, /* We are only interested in left-button behavior */ if(event->button != 1) return FALSE; - /* We are only interested in unmodified clicks (not SHIFT etc) */ - if(event->state & GDK_MODIFIER_MASK) + /* We are only uninterested in clicks without CTRL or SHIFT. GTK ignores the + * other possible modifiers, so we do too. */ + if(event->state & (GDK_SHIFT_MASK|GDK_CONTROL_MASK)) return FALSE; /* We are only interested if a well-defined path is clicked */ GtkTreePath *path = NULL;