Merge pull request #1335 from emersion/fucking-transparency

xwayland: fix typo to enable transparency
This commit is contained in:
Ryan Dwyer 2018-10-27 20:20:32 +10:00 committed by GitHub
commit 266b3df678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
} }