Date: Wed, 07 Feb 2018 03:12:34 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 222414] www/webkit-gtk2 fails to build with gcc6 Message-ID: <bug-222414-6497-gFXxey27Fi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222414-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-222414-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222414 w.schwarzenfeld@utanet.at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w.schwarzenfeld@utanet.at --- Comment #1 from w.schwarzenfeld@utanet.at --- --- Source/WebCore/platform/gtk/GtkClickCounter.cpp.orig 2018-02-07 02:12:45 UTC +++ Source/WebCore/platform/gtk/GtkClickCounter.cpp @@ -85,8 +85,8 @@ int GtkClickCounter::clickCountForGdkBut guint32 eventTime =3D getEventTime(event); if ((event->type =3D=3D GDK_2BUTTON_PRESS || event->type =3D=3D GDK_3B= UTTON_PRESS) - || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) - && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) + || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) + && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime)) && (buttonEvent->button =3D=3D m_previousClickButton))) m_currentClickCount++; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222414-6497-gFXxey27Fi>