]> git.sur5r.net Git - i3/i3/blobdiff - src/con.c
Use 32-bit visual by default if available.
[i3/i3] / src / con.c
index 03fd0ee6c163da2c8be3b50c9dd8bf53b4bdd6e1..64dbec69bc30941ea0d79e261a3d60cc9834b051 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -47,7 +47,7 @@ Con *con_new_skeleton(Con *parent, i3Window *window) {
         new->depth = window->depth;
         new->window->aspect_ratio = 0.0;
     } else {
-        new->depth = XCB_COPY_FROM_PARENT;
+        new->depth = root_depth;
     }
     DLOG("opening window\n");