Merge branch 'besh81-develop' into develop
This commit is contained in:
commit
9b07dc0d67
@ -126,6 +126,12 @@ namespace nana
|
||||
{
|
||||
close_fn_ = std::move(fn);
|
||||
}
|
||||
|
||||
bool hit_close() const
|
||||
{
|
||||
return x_pointed_;
|
||||
}
|
||||
|
||||
private:
|
||||
virtual void attached(widget_reference wdg, graph_reference graph) override
|
||||
{
|
||||
@ -310,6 +316,8 @@ namespace nana
|
||||
{
|
||||
move_pos += moves_.start_container_pos;
|
||||
API::move_window(container_->handle(), move_pos);
|
||||
|
||||
if(!caption_.get_drawer_trigger().hit_close())
|
||||
notifier_->notify_move();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user