Implement double-buffering to get rid of flickering

This commit is contained in:
Axel Wagner
2010-08-21 13:09:34 +02:00
parent 60da522e13
commit fe24eb748c
2 changed files with 113 additions and 38 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 */