noborder: Adding partial support for flextile-deluxe monocole layout, ref. #74

This commit is contained in:
bakkeby 2020-11-20 14:48:57 +01:00
parent bd5db9e63f
commit 7db8bb0ce9

5
dwm.c
View File

@ -2636,6 +2636,11 @@ 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 FLEXTILE_DELUXE_LAYOUT
|| (&flextile == c->mon->lt[c->mon->sellt]->arrange &&
c->mon->ltaxis[LAYOUT] == NO_SPLIT &&
c->mon->ltaxis[MASTER] == MONOCLE)
#endif //FLEXTILE_DELUXE_LAYOUT
)
#if FAKEFULLSCREEN_CLIENT_PATCH
&& (c->fakefullscreen == 1 || !c->isfullscreen)