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:
emersion 2018-10-27 11:59:27 +02:00
parent c55d1542fe
commit f745befc06
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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);
} }