Xinqi Bao's Git
1 /* See LICENSE file for copyright and license details. */
10 if(lt
->arrange
!= floating
)
13 for(c
= clients
; c
; c
= c
->next
)
16 resize(c
, c
->x
, c
->y
, c
->w
, c
->h
, True
);
25 togglemax(const char *arg
) {
28 if(!sel
|| (lt
->arrange
!= floating
&& !sel
->isfloating
) || sel
->isfixed
)
30 if((sel
->ismax
= !sel
->ismax
)) {
35 resize(sel
, wax
, way
, waw
- 2 * sel
->border
, wah
- 2 * sel
->border
, True
);
38 resize(sel
, sel
->rx
, sel
->ry
, sel
->rw
, sel
->rh
, True
);
40 while(XCheckMaskEvent(dpy
, EnterWindowMask
, &ev
));