summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorBen Hummon <benjamin.hummon@gmail.com>2015-10-06 16:48:30 -0500
committerDerek Foreman <derekf@osg.samsung.com>2015-10-21 16:57:47 -0500
commit1ab9ca7e014b1fb5f28a41466eb164bb29b57d1c (patch)
tree269a140a74d90e7edca4ff50274835d53e5dcb5d /clients
parent32838c93a509dbeda717e58279683c63a34a2e07 (diff)
downloadweston-1ab9ca7e014b1fb5f28a41466eb164bb29b57d1c.tar.gz
clients: Correct drawing glitch in stacking demo
Fix a graphics glitch in the stacking demo in which a transient window's drop shadow is visibile within the interior of the window. Signed-off-by: Ben Hummon <benjamin.hummon@gmail.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'clients')
-rw-r--r--clients/stacking.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/clients/stacking.c b/clients/stacking.c
index ae9c3326..6748576e 100644
--- a/clients/stacking.c
+++ b/clients/stacking.c
@@ -256,15 +256,11 @@ redraw_handler(struct widget *widget, void *data)
cairo_translate(cr, allocation.x, allocation.y);
/* Draw background. */
- cairo_push_group(cr);
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
set_window_background_colour(cr, window);
cairo_rectangle(cr, 0, 0, allocation.width, allocation.height);
cairo_fill(cr);
- cairo_pop_group_to_source(cr);
- cairo_paint(cr);
-
/* Print the instructions. */
cairo_move_to(cr, 5, 15);
cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);