[Webkit-unassigned] [Bug 24358] [GTK] Scrollbars not clipped correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 6 07:52:32 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24358
zecke at selfish.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28268|review? |review+
Flag| |
------- Comment #4 from zecke at selfish.org 2009-03-06 07:52 PDT -------
(From update of attachment 28268)
> --- a/WebCore/platform/gtk/WidgetGtk.cpp
> +++ b/WebCore/platform/gtk/WidgetGtk.cpp
> @@ -101,7 +101,7 @@ void Widget::hide()
> * 2.) We assume that GTK_NO_WINDOW is set and that frameRectsChanged positioned
> * the widget correctly. ATM we do not honor the GraphicsContext translation.
maybe we can update the comment? I think this was meant with GraphicsContext...
> */
> -void Widget::paint(GraphicsContext* context, const IntRect&)
> +void Widget::paint(GraphicsContext* context, const IntRect& rect)
> {
> if (!platformWidget())
> return;
> @@ -114,7 +114,13 @@ void Widget::paint(GraphicsContext* context, const IntRect&)
>
> GdkEvent* event = gdk_event_new(GDK_EXPOSE);
> event->expose = *context->gdkExposeEvent();
> - event->expose.region = gtk_widget_region_intersect(widget, event->expose.region);
> + event->expose.area = static_cast<GdkRectangle>(rect);
this is using the operator GtkRectangle()...
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list