[vte] widget: Fix the initial belief whether the mouse is over the widget
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Fix the initial belief whether the mouse is over the widget
- Date: Tue, 27 Feb 2018 21:36:44 +0000 (UTC)
commit 430e45d30a29e66131d10ca47144d5aa317f06c3
Author: Egmont Koblinger <egmont gmail com>
Date: Tue Feb 27 22:31:04 2018 +0100
widget: Fix the initial belief whether the mouse is over the widget
https://bugzilla.gnome.org/show_bug.cgi?id=789536
src/vte.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index c8b1b56..8c4efde 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8740,7 +8740,7 @@ VteTerminalPrivate::widget_realize()
auto allocation = get_allocated_rect();
/* Create the stock cursors. */
- m_mouse_cursor_over_widget = TRUE; /* FIXME figure out the actual value, although it's safe to err
in this direction */
+ m_mouse_cursor_over_widget = FALSE; /* We'll receive an enter_notify_event if the window appears
under the cursor. */
m_mouse_default_cursor = widget_cursor_new(VTE_DEFAULT_CURSOR);
m_mouse_mousing_cursor = widget_cursor_new(VTE_MOUSING_CURSOR);
if (_vte_debug_on(VTE_DEBUG_HYPERLINK))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]