From c57ebca430b45c046b1b26e2981173e738047131 Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 25 Jun 2018 10:15:14 +0200 Subject: [PATCH] Fixed text selection workaround on MacOS --- src/source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index 3d044e8..f5f863b 100644 --- a/src/source.cc +++ b/src/source.cc @@ -2725,7 +2725,7 @@ bool Source::View::on_motion_notify_event(GdkEventMotion *event) { // Workaround for drag-and-drop crash on MacOS // TODO 2018: check if this bug has been fixed #ifdef __APPLE__ - if((event->state & GDK_BUTTON1_MASK) == 0) + if((event->state & GDK_BUTTON1_MASK) == 0 || (event->state&GDK_SHIFT_MASK)>0) return Gsv::View::on_motion_notify_event(event); else { int x, y;