Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
nah grouped keybindings by context
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
6a65599
..
02ef559
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-195,7
+195,7
@@
void
togglemax(Arg arg) {
XEvent ev;
- if(!sel ||
!sel->isversatile || sel->isfixed || lt->arrange != versatile
)
+ if(!sel ||
(lt->arrange != versatile && !sel->isversatile) || sel->isfixed
)
return;
if((sel->ismax = !sel->ismax)) {
sel->rx = sel->x;