调整窗口堆叠顺序
This commit is contained in:
@@ -50,6 +50,14 @@ char *get_window_name(xcb_window_t window);
|
||||
void set_window_event_mask(xcb_window_t window, bool clear);
|
||||
void change_window_border_color(xcb_window_t window, uint32_t argb);
|
||||
void focus_window(xcb_window_t window);
|
||||
/**
|
||||
* @brief 将 window 置于堆叠顺序的顶部
|
||||
*/
|
||||
void raise_window(xcb_window_t window);
|
||||
/**
|
||||
* @brief 在堆叠顺序中将 window 置于 sibling 之下
|
||||
*/
|
||||
void place_window_below_sibling(xcb_window_t window, xcb_window_t sibling);
|
||||
|
||||
typedef struct bar_cairo_params_t {
|
||||
xcb_connection_t *conn;
|
||||
@@ -122,3 +130,8 @@ void set_window_state(xcb_window_t window, wm_state_t state);
|
||||
void set_window_list(xcb_window_t *list, uint32_t length);
|
||||
|
||||
bool get_pointer_position(int32_t *x, int32_t *y);
|
||||
|
||||
/**
|
||||
* @brief 非阻塞检查特定事件掩码(模拟 XCheckMaskEvent)
|
||||
*/
|
||||
bool xcb_check_mask_event(xcb_event_mask_t event_mask);
|
||||
|
||||
Reference in New Issue
Block a user