diff options
Diffstat (limited to 'src/ui/tool/selector.cpp')
| -rw-r--r-- | src/ui/tool/selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tool/selector.cpp b/src/ui/tool/selector.cpp index a30f96025..d766d5be3 100644 --- a/src/ui/tool/selector.cpp +++ b/src/ui/tool/selector.cpp @@ -102,8 +102,8 @@ Selector::~Selector() bool Selector::event(GdkEvent *event) { // The hidden control point will capture all events after it obtains the grab, - // but it relies on this function to initiate it. Here we can filter what events - // it will receive. + // but it relies on this function to initiate it. If we pass only first button + // press events here, it won't interfere with any other event handling. switch (event->type) { case GDK_BUTTON_PRESS: // Do not pass button presses other than left button to the control point. |
