mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
noborder: add support for 0 nmaster deck layout ref. #82
This commit is contained in:
parent
e26d50c110
commit
e23b16e533
12
dwm.c
12
dwm.c
@ -2637,10 +2637,16 @@ resizeclient(Client *c, int x, int y, int w, int h)
|
|||||||
#if MONOCLE_LAYOUT
|
#if MONOCLE_LAYOUT
|
||||||
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
|
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
|
||||||
#endif // MONOCLE_LAYOUT
|
#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
|
#if FLEXTILE_DELUXE_LAYOUT
|
||||||
|| (&flextile == c->mon->lt[c->mon->sellt]->arrange &&
|
|| (&flextile == c->mon->lt[c->mon->sellt]->arrange && (
|
||||||
c->mon->ltaxis[LAYOUT] == NO_SPLIT &&
|
(c->mon->ltaxis[LAYOUT] == NO_SPLIT &&
|
||||||
c->mon->ltaxis[MASTER] == MONOCLE)
|
c->mon->ltaxis[MASTER] == MONOCLE) ||
|
||||||
|
(c->mon->ltaxis[STACK] == MONOCLE &&
|
||||||
|
c->mon->nmaster == 0)))
|
||||||
#endif //FLEXTILE_DELUXE_LAYOUT
|
#endif //FLEXTILE_DELUXE_LAYOUT
|
||||||
)
|
)
|
||||||
#if FAKEFULLSCREEN_CLIENT_PATCH
|
#if FAKEFULLSCREEN_CLIENT_PATCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user