mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
removed redundant check
This commit is contained in:
parent
2de12b5979
commit
197eabf261
1 changed files with 0 additions and 3 deletions
|
|
@ -687,9 +687,6 @@ directional_target_window(struct view *view, struct server *server,
|
||||||
if (v->minimized) {
|
if (v->minimized) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (v == view) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
dx = v->current.x + v->current.width/2 - cx;
|
dx = v->current.x + v->current.width/2 - cx;
|
||||||
dy = v->current.y + v->current.height/2 - cy;
|
dy = v->current.y + v->current.height/2 - cy;
|
||||||
distance = dx * dx + dy * dy;
|
distance = dx * dx + dy * dy;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue