diff --git a/src/config/parse_config.h b/src/config/parse_config.h index d82dfc30..0dec1487 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -1985,7 +1985,7 @@ void parse_config_line(Config *config, const char *line) { } else if (strncmp(key, "source", 6) == 0) { parse_config_file(config, value); - } else if (strcmp(key, "tablet_output") == 0) { + } else if (strcmp(key, "tablet_output_name") == 0) { if (config->tablet_output_name) { free(config->tablet_output_name); } diff --git a/src/ext-protocol/tablet.h b/src/ext-protocol/tablet.h index 39cf011a..34878ef7 100644 --- a/src/ext-protocol/tablet.h +++ b/src/ext-protocol/tablet.h @@ -56,6 +56,8 @@ void createtablet(struct wlr_input_device *device) { wlr_log(WLR_INFO, "Mapping input to output for device: %s", config.tablet_output_name); wlr_cursor_map_input_to_output(cursor, device, target_monitor->wlr_output); + } else { + wlr_log(WLR_WARN, "No monitor found with name: %s", config.tablet_output_name); } } }