mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Merge pull request #1789 from psychon/remove-xrdb-warning
Don't print warnings for non-existing xrdb values
This commit is contained in:
commit
f311a9137e
1 changed files with 0 additions and 4 deletions
4
xrdb.c
4
xrdb.c
|
@ -38,10 +38,6 @@ int luaA_xrdb_get_value(lua_State *L) {
|
|||
char *result = NULL;
|
||||
|
||||
if (xcb_xrm_resource_get_string(globalconf.xrmdb, resource_name, resource_class, &result) < 0 ) {
|
||||
if (strlen(resource_class))
|
||||
luaA_warn(L, "Failed to get xrdb value '%s' (class '%s').", resource_name, resource_class);
|
||||
else
|
||||
luaA_warn(L, "Failed to get xrdb value '%s'.", resource_name);
|
||||
lua_pushnil(L);
|
||||
} else {
|
||||
lua_pushstring(L, result);
|
||||
|
|
Loading…
Reference in a new issue