[goffice] Support leave_notify events in the canvas. [#668103]



commit 737628fcce3b64dccf161b4cca353b2e82cc5c03
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Mar 15 11:46:45 2014 +0100

    Support leave_notify events in the canvas. [#668103]

 ChangeLog                   |    5 +++++
 NEWS                        |    1 +
 goffice/canvas/goc-canvas.c |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6259f36..f7023e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-15  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/canvas/goc-canvas.c (goc_canvas_init): really accept leave_notify
+       events. [#668103][see also #706659]
+
 2014-03-14 Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * goffice/utils/go-format.c (go_format_output_number_to_odf): write
diff --git a/NEWS b/NEWS
index cfe4624..38f0267 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Andreas:
 
 Jean:
        * Ensure that the lasem plugin builds with lasem-0.4.1. [#725693]
+       * Support leave_notify events in the canvas. [#668103]
 
 Julian Sikorski:
        * Remove extra DESTDIR in mathml to itex converter. [#725684]
diff --git a/goffice/canvas/goc-canvas.c b/goffice/canvas/goc-canvas.c
index 02c480f..8bb5d1d 100644
--- a/goffice/canvas/goc-canvas.c
+++ b/goffice/canvas/goc-canvas.c
@@ -290,6 +290,7 @@ goc_canvas_init (GocCanvas *canvas)
                               GDK_KEY_PRESS_MASK |
                               GDK_KEY_RELEASE_MASK |
                               GDK_ENTER_NOTIFY_MASK |
+                              GDK_LEAVE_NOTIFY_MASK |
 #ifdef HAVE_GDK_EVENT_GET_SCROLL_DELTAS
                               GDK_SMOOTH_SCROLL_MASK |
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]