mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 09:58:21 +02:00
Don't log null device name in XkbDDXLoadKeymapByNames
(cherry picked from 7ce6dcef11 commit)
This commit is contained in:
parent
5d66908975
commit
9029748f89
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ unsigned missing;
|
|||
(names->compat==NULL)&&(names->symbols==NULL)&&
|
||||
(names->geometry==NULL)) {
|
||||
LogMessage(X_ERROR, "XKB: No components provided for device %s\n",
|
||||
keybd->name);
|
||||
keybd->name ? keybd->name : "(unnamed keyboard)");
|
||||
return 0;
|
||||
}
|
||||
else if (!XkbDDXCompileKeymapByNames(xkb,names,want,need,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue