Fix segfault in X11-related code
authorNikolas Garofil <garo@dunaldi.garofil.be>
Sat, 21 Nov 2009 14:45:00 +0000 (15:45 +0100)
committerNikolas Garofil <garo@dunaldi.garofil.be>
Sat, 21 Nov 2009 14:45:00 +0000 (15:45 +0100)
commit567a86f99a094ab7228462aa71c5fd7f8e54918f
treedd7a226cd2892dc4c0bfd2113548ef57f6d8d5a2
parentb85b0d5aab8331b746f9d4febb98284aecbecc31
Fix segfault in X11-related code

Conky sometimes tries to clears part of a window before it's created,
this breaks closing the displaying. For example with this config:
TEXT
$lua
src/conky.c
src/x11.c
src/x11.h