-
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(borders): update border loc when moving
Currently, komorebi checks if a move is happening by checking if the left mouse is pressed and updates the borders when there is a move while the left mouse button is pressed (BTW this is why when moving with the keyboard using the system move it only updates after pressing enter). However, for some reason AltSnap somehow steals this left button information and komorebi thinks the button is not pressed. This PR makes it so it checks for the state of the pending_move_op and keeps updating the borders while this is_some(). This fixes both that issue with AltSnap and the issue with system move, as well as any other situations that might allow moving a window with anything else that doesn't use a left mouse button press.
- Loading branch information
Showing
4 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters