diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-17 11:15:37 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-05-27 23:51:38 +0400 |
commit | 4a549b1e26fed39598a55a3d22d575eb2ff99e13 (patch) | |
tree | e883cd4c6d57317d8f948c56a60520786f771e75 | |
parent | fe79292ddfd24d3dd62b021c11b0df054da7c66d (diff) |
floating windows appear in the middle of the screen
-rw-r--r-- | dwm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1708,6 +1708,9 @@ togglefloating(const Arg *arg) if (selmon->sel->isfloating) resize(selmon->sel, selmon->sel->x, selmon->sel->y, selmon->sel->w, selmon->sel->h, 0); + + resize(selmon->sel, selmon->mw / 4 , selmon->mh /4 , selmon->mw / 2, selmon->mh / 2 , 0); + arrange(selmon); } |