wibox: make sure no garbage is painted to the screen
commit8ed6d60a25e5e14cce7219e0d5690381c61c60d1
authorUli Schlachter <psychon@znc.in>
Sat, 7 Nov 2009 19:36:56 +0000 (7 20:36 +0100)
committerJulien Danjou <julien@danjou.info>
Sun, 8 Nov 2009 09:34:05 +0000 (8 10:34 +0100)
treedf0a8127dafacc2fea42be270d42f6066bde19a4
parent12977febeeb47acd7f4fdff2990786b021dd0ea9
wibox: make sure no garbage is painted to the screen

Wiboxes are lazily updated. This means that we could receive an expose event on
them between making them visible and actually painting their content.

Due to this we were copying undefined content to the wibox, because the pixmap
was only created just now, but it wasn't actually filled with anything yet.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
event.c