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:
parent
ddedb961d3
commit
dc9807f9e1
3
stack.c
3
stack.c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue