add support of refreshing a draw_through form

This commit is contained in:
Jinhao
2019-01-17 07:10:16 +08:00
parent 88294ed9fb
commit f488df3e4c
3 changed files with 15 additions and 9 deletions

View File

@@ -1091,6 +1091,12 @@ namespace detail
std::lock_guard<mutex_type> lock(mutex_);
if (impl_->wd_register.available(wd) == false) return false;
if ((wd->other.category == category::flags::root) && wd->is_draw_through())
{
native_interface::refresh_window(wd->root);
return true;
}
if (wd->displayed())
{
using paint_operation = window_layer::paint_operation;