[geary/bug/728002-webkit2: 111/140] Fix composer selecting whole lines when trying to select a word.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/bug/728002-webkit2: 111/140] Fix composer selecting whole lines when trying to select a word.
- Date: Tue, 31 Jan 2017 23:07:52 +0000 (UTC)
commit 3e36b5e96171ca3d044c512b368bef06b9c430a0
Author: Michael James Gratton <mike vee net>
Date: Wed Jan 25 17:22:14 2017 +1100
Fix composer selecting whole lines when trying to select a word.
* src/client/composer/composer-web-view.vala
(ComposerWebView::button_release_event): Chain up to the correct parent
method.
src/client/composer/composer-web-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/composer/composer-web-view.vala b/src/client/composer/composer-web-view.vala
index e7de86a..6e210c1 100644
--- a/src/client/composer/composer-web-view.vala
+++ b/src/client/composer/composer-web-view.vala
@@ -494,7 +494,7 @@ public class ComposerWebView : ClientWebView {
// WebView seems to unconditionally consume button events, so
// to show a link popopver after the view has processed one,
// we need to emit our own.
- bool ret = base.button_press_event(event);
+ bool ret = base.button_release_event(event);
button_release_event_done(event);
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]