xwayland: fix typo to enable transparency
We spent literally hours trying to debug this. Turns out it's a typo. Kill me.
This commit is contained in:
parent
c55d1542fe
commit
f745befc06
|
@ -30,7 +30,7 @@ enum atom_name {
|
||||||
UTF8_STRING,
|
UTF8_STRING,
|
||||||
WM_S0,
|
WM_S0,
|
||||||
NET_SUPPORTED,
|
NET_SUPPORTED,
|
||||||
NET_WM_S0,
|
NET_WM_CM_S0,
|
||||||
NET_WM_PID,
|
NET_WM_PID,
|
||||||
NET_WM_NAME,
|
NET_WM_NAME,
|
||||||
NET_WM_STATE,
|
NET_WM_STATE,
|
||||||
|
|
|
@ -28,7 +28,7 @@ const char *atom_map[ATOM_LAST] = {
|
||||||
"UTF8_STRING",
|
"UTF8_STRING",
|
||||||
"WM_S0",
|
"WM_S0",
|
||||||
"_NET_SUPPORTED",
|
"_NET_SUPPORTED",
|
||||||
"_NET_WM_S0",
|
"_NET_WM_CM_S0",
|
||||||
"_NET_WM_PID",
|
"_NET_WM_PID",
|
||||||
"_NET_WM_NAME",
|
"_NET_WM_NAME",
|
||||||
"_NET_WM_STATE",
|
"_NET_WM_STATE",
|
||||||
|
@ -1532,7 +1532,7 @@ static void xwm_create_wm_window(struct wlr_xwm *xwm) {
|
||||||
|
|
||||||
xcb_set_selection_owner(xwm->xcb_conn,
|
xcb_set_selection_owner(xwm->xcb_conn,
|
||||||
xwm->window,
|
xwm->window,
|
||||||
xwm->atoms[NET_WM_S0],
|
xwm->atoms[NET_WM_CM_S0],
|
||||||
XCB_CURRENT_TIME);
|
XCB_CURRENT_TIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue