Skip to content

Only use non negative values to set-frame-position#887

Open
matsl wants to merge 1 commit intomasterfrom
pr_issue_883_hycontrol-move-frame
Open

Only use non negative values to set-frame-position#887
matsl wants to merge 1 commit intomasterfrom
pr_issue_883_hycontrol-move-frame

Conversation

@matsl
Copy link
Collaborator

@matsl matsl commented Mar 4, 2026

What

Only use non negative values to set-frame-position.

  • hycontrol.el (hycontrol-move-frame): Ensure move past left and upper
    boarder is not possible.
  • test/hycontrol-tests.el (hycontrol-tests--move-frame): Test case.

Why

Non negative values means position is on the other side of the
frame. With this change the frame stays at the upper of left border it
is moving towards.

Thanks @Bodertz for the report in issue #883

* hycontrol.el (hycontrol-move-frame): Ensure move past left and upper
    boarder is not possible.
* test/hycontrol-tests.el (hycontrol-tests--move-frame): Test case.
@matsl matsl requested a review from rswgnu March 4, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant