new docker-place branch

This commit is contained in:
Jinhao
2015-08-14 04:09:35 +08:00
parent 42dd27b68f
commit 658ab3fb7f
8 changed files with 1210 additions and 493 deletions

View File

@@ -538,11 +538,11 @@ namespace API
return nana::point{};
}
void move_window(window wd, int x, int y)
void move_window(window wd, const point& pos)
{
auto iwd = reinterpret_cast<restrict::core_window_t*>(wd);
internal_scope_guard lock;
if(restrict::window_manager.move(iwd, x, y, false))
if(restrict::window_manager.move(iwd, pos.x, pos.y, false))
{
restrict::core_window_t* update_wd = nullptr;
if (iwd->displayed() && iwd->effect.bground)