From 3b8bc122b3065bac5ee5100abde45865044eaba3 Mon Sep 17 00:00:00 2001 From: dP Date: Sat, 27 Sep 2025 00:40:58 +0500 Subject: [PATCH] Fix glitches when dragging windows --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cpp b/src/window.cpp index 12a401a963..8bb436ad7b 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -2125,7 +2125,7 @@ static EventState HandleWindowDragging() break; } - if (w->flags.Test(WindowFlag::CMDragDirtied)) { + if (!w->flags.Test(WindowFlag::CMDragDirtied)) { w->flags.Set(WindowFlag::CMDragDirtied); w->SetDirtyAsBlocks(); }