Implement double-buffering to get rid of flickering

This commit is contained in:
Axel Wagner
2010-08-21 13:09:34 +02:00
parent 84d7da0acf
commit 5015cdc4d0
2 changed files with 96 additions and 56 deletions

View File

@ -43,6 +43,7 @@ struct i3_output {
rect rect; /* The rect (relative to the root-win) */
xcb_window_t bar; /* The id of the bar of the output */
xcb_pixmap_t buffer; /* An extra pixmap for double-buffering */
xcb_gcontext_t bargc; /* The graphical context of the bar */
struct ws_head *workspaces; /* The workspaces on this output */