mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
resistance.c: init flags in resistance_resize_apply() too
This commit is contained in:
parent
87a64b64fa
commit
9df491c544
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ resistance_resize_apply(struct view *view, struct wlr_box *new_view_geo)
|
|||
struct edges view_edges; /* The edges of the current view */
|
||||
struct edges target_edges; /* The desired edges */
|
||||
struct edges other_edges; /* The edges of the monitor/other view */
|
||||
struct edges flags; /* To be set in is_within_resistance_range() */
|
||||
struct edges flags = { 0 };
|
||||
|
||||
view_edges.left = view->x - border.left;
|
||||
view_edges.top = view->y - border.top;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue