]> git.sur5r.net Git - i3/i3/blobdiff - src/con.c
Make i3 compatible with the very latest xcb
[i3/i3] / src / con.c
index e1359069f6df3102ce676fa1d15ec983fa935fd5..8c0a8303d497c14a5d7a3f0052a7c620e8740b12 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -504,10 +504,10 @@ void con_toggle_fullscreen(Con *con) {
     unsigned int num = 0;
 
     if (con->fullscreen_mode != CF_NONE)
-        values[num++] = atoms[_NET_WM_STATE_FULLSCREEN];
+        values[num++] = A__NET_WM_STATE_FULLSCREEN;
 
     xcb_change_property(conn, XCB_PROP_MODE_REPLACE, con->window->id,
-                        atoms[_NET_WM_STATE], ATOM, 32, num, values);
+                        A__NET_WM_STATE, A_ATOM, 32, num, values);
 }
 
 /*