[gtk+/wip/carlosg/event-delivery] scrolledwindow: Stop checking event->detail in leave-notify
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/carlosg/event-delivery] scrolledwindow: Stop checking event->detail in leave-notify
- Date: Tue, 9 May 2017 17:25:12 +0000 (UTC)
commit ac801fa1902e2d2f6b43e519e8e877e868c72fbe
Author: Timm Bäder <mail baedert org>
Date: Tue May 9 19:03:38 2017 +0200
scrolledwindow: Stop checking event->detail in leave-notify
This is obsolete and resulted in sometimes stuck .hovering style classes
on scrollbars.
gtk/gtkscrolledwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 5f36335..a49722d 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -428,7 +428,7 @@ gtk_scrolled_window_leave_notify (GtkWidget *widget,
{
GtkScrolledWindowPrivate *priv = GTK_SCROLLED_WINDOW (widget)->priv;
- if (priv->use_indicators && event->detail != GDK_NOTIFY_INFERIOR)
+ if (priv->use_indicators)
{
indicator_set_over (&priv->hindicator, FALSE);
indicator_set_over (&priv->vindicator, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]