summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-07 16:12:06 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-07 16:12:06 +0300
commit18ee42831adeb97f6cee606f1fe37d790c977f63 (patch)
treedd578eb6c9fa0415aa37a2f9062716efd6cc1c69 /src
parentf455c5ad185f218a58f4b22edc4fc040b75426b6 (diff)
Window: First move with custom frame may be cancelled
Use of uninitialized memory.
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index aacb5f9b..f1e89344 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -412,6 +412,7 @@ void init_Window(iWindow *d, iRect rect) {
412 d->place.initialPos = rect.pos; 412 d->place.initialPos = rect.pos;
413 d->place.normalRect = rect; 413 d->place.normalRect = rect;
414 d->place.lastNotifiedSize = zero_I2(); 414 d->place.lastNotifiedSize = zero_I2();
415 d->place.snap = 0;
415 d->pendingCursor = NULL; 416 d->pendingCursor = NULL;
416 d->isDrawFrozen = iTrue; 417 d->isDrawFrozen = iTrue;
417 d->isExposed = iFalse; 418 d->isExposed = iFalse;