Skip to content

Commit

Permalink
widget: Don't hide the mouse pointer when a popover is presented
Browse files Browse the repository at this point in the history
  • Loading branch information
egmontkob committed Aug 20, 2017
1 parent 858ac54 commit 3e74409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vte.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ VteTerminalPrivate::update_insert_delta()
void
VteTerminalPrivate::apply_mouse_cursor()
{
m_mouse_cursor_visible = m_mouse_cursor_over_widget && !(m_mouse_autohide && m_mouse_cursor_autohidden);
m_mouse_cursor_visible = !(m_mouse_autohide && m_mouse_cursor_autohidden);

if (!widget_realized())
return;
Expand Down Expand Up @@ -10685,7 +10685,7 @@ VteTerminalPrivate::emit_pending_signals()
if (m_contents_changed_pending) {
/* Update hyperlink and dingus match set. */
match_contents_clear();
if (m_mouse_cursor_visible) {
if (m_mouse_cursor_over_widget) {
hyperlink_hilite_update(m_mouse_last_position);
match_hilite_update(m_mouse_last_position);
}
Expand Down

0 comments on commit 3e74409

Please sign in to comment.