mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
changed distances back to int
This commit is contained in:
parent
f37fecd04d
commit
60b7104c9e
1 changed files with 2 additions and 1 deletions
|
|
@ -729,7 +729,8 @@ directional_target_window(struct view *view, struct server *server,
|
||||||
struct view *closest_view_wrap = NULL;
|
struct view *closest_view_wrap = NULL;
|
||||||
struct output *output = view->output;
|
struct output *output = view->output;
|
||||||
struct wlr_box usable = output_usable_area_in_layout_coords(output);
|
struct wlr_box usable = output_usable_area_in_layout_coords(output);
|
||||||
float dx, dy, distance, distance_wrap;
|
float dx, dy;
|
||||||
|
int distance, distance_wrap;
|
||||||
int min_distance = INT_MAX;
|
int min_distance = INT_MAX;
|
||||||
int min_distance_wrap = INT_MAX;
|
int min_distance_wrap = INT_MAX;
|
||||||
for_each_view(v, &server->views,
|
for_each_view(v, &server->views,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue