]> git.sur5r.net Git - i3/i3lock/commit
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)
commite03e93fd1bb6f347b13d42796c1f0dada4ca8bb5
treeea4fe16a784b838f2ae3c9486411a1b9af0430bd
parente7201e2df53e740e364d6d0992a1c6e329909e06
optimization: render to pixmap which is used as background for the window

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.
i3lock.c
xcb.c
xcb.h