Skip to content

Commit

Permalink
Don't install mouse bindings when the frame is being destroyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Jun 15, 2024
1 parent 20fc069 commit 3be1fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/movesize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ void YFrameWindow::endMoveSize() {
sizingWindow = false;

if (container()->buttoned() == false) {
if (overlapped())
if (overlapped() && isManaged())
container()->grabButtons();
} else if (focused()) {
if (!raiseOnClickClient || !canRaise() || !overlapped())
Expand Down

0 comments on commit 3be1fb7

Please sign in to comment.