GNOME Bugzilla – Bug 595514
[lookingGlass] Fix shell_hook_paint_red_border
Last modified: 2009-09-21 22:43:15 UTC
In overriding _paint we're already offset to our allocation coordinates, don't re-add them.
Created attachment 143407 [details] [review] [lookingGlass] Fix shell_hook_paint_red_border
Review of attachment 143407 [details] [review]: Looks basically fine. ::: src/shell-drawing.c @@ +195,3 @@ + geom.width, geom.height); + cogl_rectangle (geom.width - width, geom.height, + 0, geom.height - width); It's very odd to me to draw a rectangle with negative width and height like this. It should work if everything is implemented correctly, but it's confusing. @@ +197,3 @@ + 0, geom.height - width); + cogl_rectangle (width, geom.height - width, + 0, width); Or like this