Remove a possibility for lua to cause X11 errors
commitf57dbb6a78de7270f65f8e869ca36ab4a15186d9
authorUli Schlachter <psychon@znc.in>
Sun, 19 Dec 2010 13:29:52 +0000 (19 14:29 +0100)
committerUli Schlachter <psychon@znc.in>
Sun, 19 Dec 2010 13:29:52 +0000 (19 14:29 +0100)
tree120cea84642b6b6f40c2166e35f84d9a8023af53
parentda78a89dcdb1ee99e7878423cfd3f587f02225ee
Remove a possibility for lua to cause X11 errors

The lua code could keep a reference to out cairo surface for a drawin after it
was destroyed. So make sure the surface is finished before the associated
drawable is destroyed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
objects/drawin.c