Skip to content

Commit b22558c

Browse files
authored
Fix top position calculating when applying edge resistance. (#798)
1 parent baf3c23 commit b22558c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/edge-resistance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ apply_edge_resistance_to_each_side (MetaDisplay *display,
636636
}
637637

638638

639-
if (ABS (vertical_point - new_left) < 16)
639+
if (ABS (vertical_point - new_top) < 16)
640640
{
641641
new_top = vertical_point;
642642
new_bottom = workarea.y + workarea.height;

0 commit comments

Comments
 (0)