compositor: change position of weston_log_file_open call
authorRafal Mielniczuk <rafal.mielniczuk2@gmail.com>
Sat, 9 Jun 2012 13:10:28 +0000 (15:10 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Jun 2012 13:37:02 +0000 (09:37 -0400)
commit6e0a7d82b7bd99407aef87a0a266150ec3124336
tree10526171f1d1a2005f1833b821f9a6c6714c0360
parentd64cf21246730778e3cdc92d0de2c8ffe918feed
compositor: change position of weston_log_file_open call

In case XDG_RUNTIME_DIR was not set, weston_log
will crash the compositor instead of spitting
error msg, as weston log was not yet opened
src/compositor.c