diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-11-22 21:14:56 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-11-22 21:14:56 +0000 |
commit | 841ceced52f63a4a73bc68b4621733ae70ccd580 (patch) | |
tree | b1aefac205ce412471bfdb663c822e01899b6dd0 /src/lib | |
parent | 148aec9d9c79bd1eff54c7f82d404456a2fcd9d8 (diff) |
ecore x - dont free previous resource db
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ecore_x/ecore_x_resource.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_x/ecore_x_resource.c b/src/lib/ecore_x/ecore_x_resource.c index c4b7eed3b1..fe6f8ccd42 100644 --- a/src/lib/ecore_x/ecore_x_resource.c +++ b/src/lib/ecore_x/ecore_x_resource.c | |||
@@ -35,7 +35,9 @@ ecore_x_rersource_load(const char *file) | |||
35 | if (!db) return; | 35 | if (!db) return; |
36 | if (_ecore_x_resource_db) XrmDestroyDatabase(_ecore_x_resource_db); | 36 | if (_ecore_x_resource_db) XrmDestroyDatabase(_ecore_x_resource_db); |
37 | _ecore_x_resource_db = db; | 37 | _ecore_x_resource_db = db; |
38 | XrmSetDatabase(_ecore_x_disp, db); | 38 | // something smells fishy/broken in xlib - this segfaults in trying to free |
39 | // up the previous db bveing used for that display... | ||
40 | // XrmSetDatabase(_ecore_x_disp, db); | ||
39 | } | 41 | } |
40 | 42 | ||
41 | EAPI void | 43 | EAPI void |