Merge pull request #521 from acrisci/nop-command

add nop command
This commit is contained in:
Tony Crisci 2017-12-27 05:49:34 -05:00 committed by GitHub
commit cbd76cb46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ static void keyboard_binding_execute(struct roots_keyboard *keyboard,
if (focus != NULL) { if (focus != NULL) {
view_maximize(focus, !focus->maximized); view_maximize(focus, !focus->maximized);
} }
} else if (strcmp(command, "nop") == 0) {
wlr_log(L_DEBUG, "nop command");
} else { } else {
wlr_log(L_ERROR, "unknown binding command: %s", command); wlr_log(L_ERROR, "unknown binding command: %s", command);
} }