Add a comment to XCB_NONE for sibling

I guess it is done like this accidentally, but it actually has to be done this
way to avoid flickering.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-07-18 14:30:47 +02:00
parent ddedb961d3
commit dc9807f9e1
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ stack_refresh()
if(!need_stack_refresh) if(!need_stack_refresh)
return; return;
/* XCB_NONE is an invalid value for XCB_CONFIG_WINDOW_SIBLING and will cause
* an error instead of changing the stacking order. This is a *good* thing.
* Else we would be forcing windows to redraw themselves. */
xcb_window_t next = XCB_NONE; xcb_window_t next = XCB_NONE;
/* stack desktop windows */ /* stack desktop windows */