]> git.sur5r.net Git - i3/i3/blobdiff - src/handlers.c
Introduce output_primary_name function
[i3/i3] / src / handlers.c
index c273e1161285df78230f7c8c3551d61ea74c6505..8d500fd9f24d7b177d30da82dc01a3babf3ed860 100644 (file)
@@ -388,7 +388,7 @@ static void handle_configure_request(xcb_configure_request_event_t *event) {
             Con *current_output = con_get_output(con);
             Output *target = get_output_containing(x, y);
             if (target != NULL && current_output != target->con) {
-                DLOG("Dock client is requested to be moved to output %s, moving it there.\n", target->name);
+                DLOG("Dock client is requested to be moved to output %s, moving it there.\n", output_primary_name(target));
                 Match *match;
                 Con *nc = con_for_window(target->con, con->window, &match);
                 DLOG("Dock client will be moved to container %p.\n", nc);