]> git.sur5r.net Git - i3/i3/commitdiff
Fix warning
authorMichael Stapelberg <michael+x200@stapelberg.de>
Mon, 9 Mar 2009 16:50:00 +0000 (17:50 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Mon, 9 Mar 2009 16:50:00 +0000 (17:50 +0100)
src/handlers.c

index f1f7caa3ed322117b792b0301d2f689d7ff7c6c4..7752f68f97e3aa25fcc91d74248b51288d1b60d3 100644 (file)
@@ -516,7 +516,7 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
             (memcmp(client->name, ucs2_name, new_len * 2) == 0)) {
                 LOG("Name did not change, not updating\n");
                 free(ucs2_name);
-                return;
+                return 1;
         }
 
         char *old_name = client->name;