Systray: Fix some flickering
commit35c05abe2901e4352086a378670a6c8d7c24bd12
authorUli Schlachter <psychon@znc.in>
Thu, 7 Oct 2010 09:31:51 +0000 (7 11:31 +0200)
committerUli Schlachter <psychon@znc.in>
Thu, 7 Oct 2010 09:53:24 +0000 (7 11:53 +0200)
tree0d19de811f48ca38a211ac3d06bf3dea1443ab6d
parent7edabc39fd2f0a5559e2865485882612fb4d7880
Systray: Fix some flickering

Every time the systray was updated, we reparented the systray window to its
drawin. However, when the systray was already reparented, this still caused it
to be unmapped and mapped again.

So, we only should reparent the systray when we have to, and not always just for
the lulz.

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