Refactor linked-list operations into a header
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -393,10 +393,7 @@ typedef struct session {
|
||||
/// A hash table of all windows.
|
||||
win *windows;
|
||||
/// Windows in their stacking order
|
||||
win *window_stack;
|
||||
/// Pointer to the `next` field of the bottom most window,
|
||||
/// or a pointer to `window_stack` when there is no window
|
||||
win **window_stack_bottom;
|
||||
struct list_node window_stack;
|
||||
/// Pointer to <code>win</code> of current active window. Used by
|
||||
/// EWMH <code>_NET_ACTIVE_WINDOW</code> focus detection. In theory,
|
||||
/// it's more reliable to store the window ID directly here, just in
|
||||
|
Reference in New Issue
Block a user