Hello, thanks once again to both of you for your answers
.
I am sorry for steering this discussion off-topic.
This here:
fixed my issue! The whole screen does not get redrawn in this case and everything except the message box is un-clickable.
For those curious, it was really quite simple. Here’s the code:
lv_obj_add_flag(lv_layer_top(), LV_OBJ_FLAG_CLICKABLE); /* disable background input */
msgBox = lv_msgbox_create(lv_layer_top(), NULL, NULL, NULL, false); /* create message box */
/* Do something with message box.... */
lv_obj_clear_flag(lv_layer_top(), LV_OBJ_FLAG_CLICKABLE); /* enable background input */lv_msgbox_close(msgBox);