From 3be1fb7b413d178cb4688e1aef7d193b936cd06b Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Sat, 15 Jun 2024 19:39:09 +0200 Subject: [PATCH] Don't install mouse bindings when the frame is being destroyed. --- src/movesize.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/movesize.cc b/src/movesize.cc index 2038504af..0222ba49b 100644 --- a/src/movesize.cc +++ b/src/movesize.cc @@ -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())