els_tooltip: Don't expect to have X running if support is compiled in
authorDaniel Willmann <d.willmann@samsung.com>
Tue, 11 Jun 2013 10:18:25 +0000 (11:18 +0100)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 20 Jun 2013 12:30:22 +0000 (21:30 +0900)
commit8f9b124d7041e5cc8944767721d0b30735865327
treec82ec016fe99c380f7c5dba7321fb0b65d465a0f
parent8759e4c64c7502efb9cc6b6cd93cec7357880369
els_tooltip: Don't expect to have X running if support is compiled in

Refactor the code so common code is not duplicated inside the
if (transparent) and else blocks

Backport 3112de826b33ffb847c8df827f172772f2f0ef96

Change-Id: If25829b671b5d30ec010d9a189843b920a30a7ce
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/lib/els_tooltip.c