tbm_module: use module instead of bufmgr
[platform/core/uifw/libtbm.git] / src / tbm_bufmgr.c
index 4f6ece3..703cf40 100644 (file)
@@ -754,6 +754,10 @@ tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *native_display)
 
                        bufmgr->auth_wl_socket_created = 1;
                        bufmgr->auth_fd = fd;
+
+                       // TODO: this duplication will be removed after refactoring tbm_module
+                       bufmgr->module->auth_wl_socket_created = 1;
+                       bufmgr->module->bufmgr->auth_fd = fd;
                }
        } else if (bufmgr->backend_module_data) {
                if (!bufmgr->bufmgr_func->bufmgr_bind_native_display) {