]> git.sur5r.net Git - i3/i3/commit
Bugfix: validation segfault 1557/head
authorTony Crisci <tony@dubstepdish.com>
Sun, 22 Mar 2015 09:46:52 +0000 (05:46 -0400)
committerTony Crisci <tony@dubstepdish.com>
Sun, 22 Mar 2015 09:46:52 +0000 (05:46 -0400)
commit6fb7fc9bc64909a4ee86aabb71075ce04273b149
tree288ee23d23df7e6f045c93cb54adcca2209a2f03
parent2190bb9386eeb98d25647ab7181d64ce4e15f254
Bugfix: validation segfault

When `new_window` is given in the config, config validation with `i3 -C`
would segfault.

Add a NULL check in logical_px() to check for the case when the config
is being validated without an X server to prevent this.
libi3/dpi.c