]> git.sur5r.net Git - i3/i3/blobdiff - src/xinerama.c
Introduce output_primary_name function
[i3/i3] / src / xinerama.c
index 25bfa6b194970257fffeaa90cc4365605dbc3acb..9574b894986f79290ebb5005cadee8b0e8039502 100644 (file)
@@ -56,7 +56,7 @@ static void query_screens(xcb_connection_t *conn) {
         } else {
             s = scalloc(1, sizeof(Output));
             sasprintf(&(s->name), "xinerama-%d", num_screens);
-            DLOG("Created new Xinerama screen %s (%p)\n", s->name, s);
+            DLOG("Created new Xinerama screen %s (%p)\n", output_primary_name(s), s);
             s->active = true;
             s->rect.x = screen_info[screen].x_org;
             s->rect.y = screen_info[screen].y_org;