mirror of
https://github.com/swaywm/sway.git
synced 2026-05-04 06:46:25 -04:00
sway: change all sway_log to wlr_log
This commit is contained in:
parent
fdc92e7454
commit
67985e9031
36 changed files with 167 additions and 190 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "log.h"
|
||||
|
||||
struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) {
|
||||
sway_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier);
|
||||
wlr_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier);
|
||||
struct cmd_results *error = NULL;
|
||||
if ((error = checkarg(argc, "xkb_layout", EXPECTED_EQUAL_TO, 1))) {
|
||||
return error;
|
||||
|
|
@ -18,7 +18,7 @@ struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_layout = strdup(argv[0]);
|
||||
|
||||
sway_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s",
|
||||
wlr_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s",
|
||||
current_input_config->identifier, new_config->xkb_layout);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue