[vte] widget: Show the mouse pointer when a popover is presented from outside VTE



commit 653ad2224deae42d93ac10c4dd8495c7cd214e87
Author: Egmont Koblinger <egmont gmail com>
Date:   Sat Oct 28 14:44:15 2017 +0200

    widget: Show the mouse pointer when a popover is presented from outside VTE
    
    This is a followup for the incomplete fix from
    commit 3e744098a4345fab636dca438f7e1996cdb57f7e.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789390

 src/vte.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index b526b0f..90beb26 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -2288,7 +2288,8 @@ VteTerminalPrivate::update_insert_delta()
 void
 VteTerminalPrivate::apply_mouse_cursor()
 {
-        m_mouse_cursor_visible = !(m_mouse_autohide && m_mouse_cursor_autohidden);
+        /* See bug 789390 for the m_mouse_cursor_over_widget condition. */
+        m_mouse_cursor_visible = !(m_mouse_autohide && m_mouse_cursor_autohidden && 
m_mouse_cursor_over_widget);
 
         if (!widget_realized())
                 return;


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