wayland-tbm-monitor: clean up main() 49/99449/1
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 23 Nov 2016 01:43:17 +0000 (10:43 +0900)
committerYoungJun Cho <yj44.cho@samsung.com>
Wed, 23 Nov 2016 01:43:17 +0000 (10:43 +0900)
commitbef055c3348311100a917e2ead50dfac2973f2e6
treeed784f4ebd6f0510cbb04be599642e6ccbde635f
parentd4f12ca919c47b88eccbde9233fc2f9ca69062ba
wayland-tbm-monitor: clean up main()

This patch cleans up main().
- Adds XDG_RUNTIME_DIR setting routine for convenience.
- Removes useless wl_display_dispatch().

Change-Id: I14d681a064ec3e04b8e1b0147e97e84ec667cec3
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
tool/wayland-tbm-monitor.c