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)
committerDaniel Willmann <d.willmann@samsung.com>
Tue, 11 Jun 2013 13:33:27 +0000 (14:33 +0100)
commitaf23236795cbd01d6a36856a526a85a7fdf201f5
tree6a5c5d8306fc3b46d1dd74fa65baf10a3257e2f7
parent4bce980afffd7f274c7ce5551fa547a2ed57587e
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

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