GtkRange: fix resize-grip overlap handling
We only want to shrink the scrollbar allocation by the actual overlap, not always by the full size of the resize grip.
This commit is contained in:
parent
b0936a12d9
commit
b9b23f4f18
@ -1635,7 +1635,7 @@ modify_allocation_for_window_grip (GtkWidget *widget,
|
||||
}
|
||||
|
||||
/* If the stepper button intersects the window resize grip.. */
|
||||
if (gdk_rectangle_intersect (&grip_rect, &translated_rect, NULL))
|
||||
if (gdk_rectangle_intersect (&grip_rect, &translated_rect, &grip_rect))
|
||||
{
|
||||
if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user