]> git.sur5r.net Git - i3/i3/commitdiff
Merge pull request #1684 from acrisci/bug/focus-without-input-hint
authorMichael Stapelberg <stapelberg@users.noreply.github.com>
Sun, 26 Apr 2015 10:15:38 +0000 (12:15 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Sun, 26 Apr 2015 10:15:38 +0000 (12:15 +0200)
Ignore InputHint when not in WM_HINTS

src/bindings.c

index a0ca0498cc984b1dbdc3f54f238a4fab31103d30..5815908c46ece42c3ba524d71e8210f274fc3ac4 100644 (file)
@@ -431,7 +431,7 @@ CommandResult *run_binding(Binding *bind, Con *con) {
     if (con == NULL)
         command = sstrdup(bind->command);
     else
-        sasprintf(&command, "[con_id=\"%d\"] %s", con, bind->command);
+        sasprintf(&command, "[con_id=\"%p\"] %s", con, bind->command);
 
     Binding *bind_cp = binding_copy(bind);
     CommandResult *result = parse_command(command, NULL);