Fix NULL pointer dereference
commita9aeefbe7062523ea95435fdafdc853d6abcfacc
authorMartin Dietze <di@fh-wedel.de>
Wed, 26 Nov 2008 14:56:33 +0000 (26 15:56 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 24 Aug 2009 23:10:00 +0000 (25 01:10 +0200)
tree9633666b1f75778215da42bba3ab040ebf77796b
parentd6c134f420bfa1cd6b6a9474d01548933b559901
Fix NULL pointer dereference

Some weird applications like Safari for Windows running on CXOffice
or some applications running on Wine were causing wmaker to crash.
So let's not rely on a window's `frame' property to be not NULL in
src/wmspec.c.

Original-post: http://lists.windowmaker.info/dev/msg00161.html
See-also: http://lists.windowmaker.info/dev/msg00222.html
src/wmspec.c