Skip to content

Commit

Permalink
End manual placement when the client exits.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Jun 21, 2024
1 parent 98a12c4 commit c9ac56b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/movesize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,9 @@ void YFrameWindow::manualPlace() {
drawMoveSizeFX(xx, yy, width(), height());

MoveState state = MoveMoving;
while (state != MoveAccept && state != MoveCancel) {
while (state != MoveAccept && state != MoveCancel &&
client()->testDestroyed() == false)
{
XEvent xev;
XMaskEvent(xapp->display(),
KeyPressMask |
Expand Down

0 comments on commit c9ac56b

Please sign in to comment.