ecore_evas/wayland: Add a clipper to the frame object. 01/9901/1 accepted/tizen/20130910.210250 submit/tizen/20130910.205851 submit/tizen/20130910.221541 submit/tizen/20130910.221627 submit/tizen/20130910.221750
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 10 Sep 2013 19:43:35 +0000 (16:43 -0300)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 10 Sep 2013 20:36:17 +0000 (17:36 -0300)
commita323977dac448551fbf843952943bbe010e66201
treeef5943696c1f14e440a58f62ff668ce815b1cee4
parente88d00f7a1c3322d113a317a15392189806ec563
ecore_evas/wayland: Add a clipper to the frame object.

The frame object is a simple smart object with two children: a rectangle
(background) and a text (title). During the render phase, these objects
get wrongly clipped to the client area clipper, because they have no
clipper.

This commit adds a clipper to the frame smart object, and clip the other
children to it, so they won't get clipped to the client area clipper.

It fix an old bug where there was a flickering behavior on the window
decorations. The bug only happened on wayland_egl because of differences
on how this backend handles dirty areas, but it could be a source of new
bugs on wayland_shm too, so the solution is applied to both engines.

Change-Id: I877d85892f2d3482ad4e056c85481ce3ad87f7d8
Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/lib/ecore_evas/ecore_evas_wayland_egl.c
src/lib/ecore_evas/ecore_evas_wayland_shm.c