projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050e139
)
roundedbox: Fix a copy/paste error
author
Benjamin Otte
<otte@redhat.com>
Sun, 29 Mar 2015 20:16:14 +0000
(22:16 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 29 Mar 2015 20:18:29 +0000
(22:18 +0200)
This caused shadows to not be drawn in certain situations when overlayed
via a popover animation.
https://bugzilla.gnome.org/show_bug.cgi?id=746862
gtk/gtkroundedbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkroundedbox.c
b/gtk/gtkroundedbox.c
index 4944918d1b9e0092e7ea809a842ea3e707f3c7ff..f95751e3d5810f27868463c5ae82c6503742c91f 100644
(file)
--- a/
gtk/gtkroundedbox.c
+++ b/
gtk/gtkroundedbox.c
@@
-626,7
+626,7
@@
_gtk_rounded_box_contains_rectangle (const GtkRoundedBox *box,
if (x1 < box->box.x ||
y1 < box->box.y ||
x2 >= box->box.x + box->box.width ||
- y2 >= box->box.y + box->box.
width
)
+ y2 >= box->box.y + box->box.
height
)
return FALSE;
if (x1 < box->box.x + box->corner[GTK_CSS_TOP_LEFT].horizontal &&