diff --git a/hook/x11/input_c.h b/hook/x11/input_c.h index e132d03..b734189 100644 --- a/hook/x11/input_c.h +++ b/hook/x11/input_c.h @@ -1880,8 +1880,9 @@ void load_input_helper(Display *disp) { is_evdev = true; } else #endif + if (strncmp(layout_name, prefix_xfree86, strlen(prefix_xfree86)) != 0) { - // logger(LOG_LEVEL_ERROR, + // logger(LOG_LEVEL_WARN, // "%s [%u]: Unknown keycode name '%s', please file a bug report!\n", // __FUNCTION__, __LINE__, layout_name); } @@ -1894,7 +1895,7 @@ void load_input_helper(Display *disp) { XkbFreeClientMap(desc, XkbGBN_AllComponentsMask, True); } else { - logger(LOG_LEVEL_ERROR, + logger(LOG_LEVEL_WARN, "%s [%u]: XkbGetKeyboard failed to locate a valid keyboard!\n", __FUNCTION__, __LINE__); } diff --git a/hook/x11/properties_c.h b/hook/x11/properties_c.h index 8a94b92..1124df0 100644 --- a/hook/x11/properties_c.h +++ b/hook/x11/properties_c.h @@ -444,7 +444,7 @@ void on_library_load() { // Open local display. properties_disp = XOpenDisplay(XDisplayName(NULL)); if (properties_disp == NULL) { - logger(LOG_LEVEL_ERROR, "%s [%u]: %s\n", + logger(LOG_LEVEL_WARN, "%s [%u]: %s\n", __FUNCTION__, __LINE__, "XOpenDisplay failure!"); } else {