feat(backend/X11): 实现 backend_apply_effect 接口以提交 X11 副作用

This commit is contained in:
2026-04-19 04:49:02 +08:00
parent c6a67b52a2
commit 22cd362724
5 changed files with 224 additions and 3 deletions

View File

@@ -11,6 +11,13 @@
X(WM_NAME) \
X(_NET_WM_NAME) \
\
X(WM_PROTOCOLS) \
X(WM_TAKE_FOCUS) \
X(_NET_ACTIVE_WINDOW) \
\
X(_NET_CLIENT_LIST) \
X(_NET_CLIENT_LIST_STACKING) \
\
X(_NET_WM_STATE) \
X(_NET_WM_STATE_FULLSCREEN) \
X(_NET_WM_STATE_ABOVE) \
@@ -49,4 +56,7 @@ struct backend_t {
bool have_xfixes;
atoms_t atoms;
/* When no window should take focus, then focus this window */
xcb_window_t window_no_focus;
};