aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/keyboard.c
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-05 22:32:51 +0100
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-01-05 23:39:46 +0100
commit67985e903188a464e602d04f9ed218bd397f5ab1 (patch)
tree3589175749c9a2ed746b0cc280ab3ccfb33125e9 /sway/input/keyboard.c
parentMerge pull request #1554 from martinetd/cmd_set (diff)
downloadsway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.gz
sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.zst
sway-67985e903188a464e602d04f9ed218bd397f5ab1.zip
sway: change all sway_log to wlr_log
Diffstat (limited to 'sway/input/keyboard.c')
-rw-r--r--sway/input/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index c2bb2578..e7539c48 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -90,11 +90,11 @@ static bool binding_matches_key_state(struct sway_binding *binding,
90} 90}
91 91
92static void binding_execute_command(struct sway_binding *binding) { 92static void binding_execute_command(struct sway_binding *binding) {
93 sway_log(L_DEBUG, "running command for binding: %s", 93 wlr_log(L_DEBUG, "running command for binding: %s",
94 binding->command); 94 binding->command);
95 struct cmd_results *results = handle_command(binding->command); 95 struct cmd_results *results = handle_command(binding->command);
96 if (results->status != CMD_SUCCESS) { 96 if (results->status != CMD_SUCCESS) {
97 sway_log(L_DEBUG, "could not run command for binding: %s", 97 wlr_log(L_DEBUG, "could not run command for binding: %s",
98 binding->command); 98 binding->command);
99 } 99 }
100 free_cmd_results(results); 100 free_cmd_results(results);
@@ -467,7 +467,7 @@ void sway_keyboard_configure(struct sway_keyboard *keyboard) {
467 xkb_keymap_new_from_names(context, &rules, XKB_KEYMAP_COMPILE_NO_FLAGS); 467 xkb_keymap_new_from_names(context, &rules, XKB_KEYMAP_COMPILE_NO_FLAGS);
468 468
469 if (!keymap) { 469 if (!keymap) {
470 sway_log(L_DEBUG, "cannot configure keyboard: keymap does not exist"); 470 wlr_log(L_DEBUG, "cannot configure keyboard: keymap does not exist");
471 xkb_context_unref(context); 471 xkb_context_unref(context);
472 return; 472 return;
473 } 473 }