commit 6744f4695e851108f2215d6d95b1e0a4fc325764
parent 33d7a5559bd7523f187e369d16ac9fc5d9e04dfd
Author: phillbush <phillbush@cock.li>
Date: Sat, 18 Sep 2021 20:08:57 -0300
reorder calls
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shod.c b/shod.c
@@ -3893,6 +3893,7 @@ mouseretab(struct Tab *t, int xroot, int yroot, int x, int y)
}
}
done:
+ XUngrabPointer(dpy, CurrentTime);
if (col->maxrow != NULL) {
rowstack(col, (col->maxrow == row) ? NULL : row);
}
@@ -3919,7 +3920,6 @@ done:
containermoveresize(c);
containerredecorate(c, NULL, NULL, 0);
}
- XUngrabPointer(dpy, CurrentTime);
}
/* resize container with mouse */