ecore x - dont free previous resource db

This commit is contained in:
Carsten Haitzler 2020-11-22 21:14:56 +00:00
parent 148aec9d9c
commit 841ceced52
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ ecore_x_rersource_load(const char *file)
if (!db) return;
if (_ecore_x_resource_db) XrmDestroyDatabase(_ecore_x_resource_db);
_ecore_x_resource_db = db;
XrmSetDatabase(_ecore_x_disp, db);
// something smells fishy/broken in xlib - this segfaults in trying to free
// up the previous db bveing used for that display...
// XrmSetDatabase(_ecore_x_disp, db);
}
EAPI void