Fix a brown paper bag bug in d7d70714d7943ac4
commitb90aa39dc975ff75400a99ac7b17e711fe30cf0f
authorUli Schlachter <psychon@znc.in>
Sun, 18 Jul 2010 14:20:24 +0000 (18 16:20 +0200)
committerUli Schlachter <psychon@znc.in>
Sun, 18 Jul 2010 14:20:24 +0000 (18 16:20 +0200)
tree8e3caad14f3c425d3ecfe77fac9ebe452e9523a3
parent312094ace3ad540f9793cf5b114c0cc0db0ee7a2
Fix a brown paper bag bug in d7d70714d7943ac4

I cherry-picked this commit from master and there was a conflict. I fixed this
up by hand and apparently failed here.

Instead of first saving the systray window and then destroying the wibox, this
first destroyed the wibox and then tried to save the systray, but it was already
destroyed in the previous step. Just swapping these two calls fixes this.

Thanks to anrxc for making me notice how much I fail.

Signed-off-by: Uli Schlachter <psychon@znc.in>
wibox.c