diff options
| author | bakkeby <[email protected]> | 2020-11-24 17:37:49 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-11-24 17:37:49 +0100 |
| commit | e23b16e5330ce500b92725c09b7bb1f92c6db7d2 (patch) | |
| tree | 84e8ebed941d03c502433b824175ccce25aab88a | |
| parent | e26d50c1107c744b4778785d57d90e02ad9684f7 (diff) | |
| download | dwm-flexipatch-e23b16e5330ce500b92725c09b7bb1f92c6db7d2.tar.gz dwm-flexipatch-e23b16e5330ce500b92725c09b7bb1f92c6db7d2.zip | |
noborder: add support for 0 nmaster deck layout ref. #82
| -rw-r--r-- | dwm.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -2637,10 +2637,16 @@ resizeclient(Client *c, int x, int y, int w, int h) #if MONOCLE_LAYOUT || &monocle == c->mon->lt[c->mon->sellt]->arrange #endif // MONOCLE_LAYOUT + #if DECK_LAYOUT + || (&deck == c->mon->lt[c->mon->sellt]->arrange && + c->mon->nmaster == 0) + #endif // DECK_LAYOUT #if FLEXTILE_DELUXE_LAYOUT - || (&flextile == c->mon->lt[c->mon->sellt]->arrange && - c->mon->ltaxis[LAYOUT] == NO_SPLIT && - c->mon->ltaxis[MASTER] == MONOCLE) + || (&flextile == c->mon->lt[c->mon->sellt]->arrange && ( + (c->mon->ltaxis[LAYOUT] == NO_SPLIT && + c->mon->ltaxis[MASTER] == MONOCLE) || + (c->mon->ltaxis[STACK] == MONOCLE && + c->mon->nmaster == 0))) #endif //FLEXTILE_DELUXE_LAYOUT ) #if FAKEFULLSCREEN_CLIENT_PATCH |
