]> git.sur5r.net Git - i3/i3lock/commitdiff
optimization: render to pixmap which is used as background for the window
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 2 Apr 2011 17:49:38 +0000 (19:49 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 2 Apr 2011 17:49:38 +0000 (19:49 +0200)
Before this commit, the background color (white by default) was visible for
about 100ms until the image was drawn. This flickering is now eliminated.

Also, we don’t need to handle Expose-events anymore, as X11 will use the
window’s background pixmap automatically.


No differences found