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



commit 9bb20baf3e129ae2d29718e247feea09232ed1cb
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
    (cherry picked from commit 653ad2224deae42d93ac10c4dd8495c7cd214e87)

 src/vte.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index e52f726..da25fca 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -2293,7 +2293,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]