mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
win: add new type window_stack_entry
This commit is contained in:
parent
46d3b9c8a5
commit
14825e2571
1 changed files with 12 additions and 0 deletions
12
src/win.h
12
src/win.h
|
@ -115,6 +115,18 @@ typedef enum win_flags {
|
||||||
WIN_FLAGS_IMAGE_ERROR = 2,
|
WIN_FLAGS_IMAGE_ERROR = 2,
|
||||||
} win_flags_t;
|
} win_flags_t;
|
||||||
|
|
||||||
|
/// An entry in the window stack. May or may not correspond to a window we know about.
|
||||||
|
struct window_stack_entry {
|
||||||
|
/// The actual window correspond to this stack entry. NULL if we didn't know about
|
||||||
|
/// this window (e.g. an InputOnly window, or we haven't handled the window
|
||||||
|
/// creation yet)
|
||||||
|
struct win *win;
|
||||||
|
/// The window id. Might not be unique in the stack, because there might be
|
||||||
|
/// destroyed window still fading out in the stack.
|
||||||
|
xcb_window_t id;
|
||||||
|
struct list_node stack_neighbour;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* About coordinate systems
|
* About coordinate systems
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue