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

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);
} }