This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix if n < nmaster of remainer calculation for master windows
config
Anselm R. Garbe
17 years ago
parent
02d5dddc00
commit
f3e672efd8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
layout.c
+ 1
- 1
layout.c
View File
@ -40,7 +40,7 @@ tile(void) {
ny
+
=
i
*
mh
;
ny
+
=
i
*
mh
;
nw
=
mw
-
2
*
c
-
>
border
;
nw
=
mw
-
2
*
c
-
>
border
;
nh
=
mh
;
nh
=
mh
;
if
(
i
+
1
=
=
nmaster
)
/* remainder */
if
(
i
+
1
=
=
(
n
<
nmaster
?
n
:
nmaster
)
)
/* remainder */
nh
=
wah
-
mh
*
i
;
nh
=
wah
-
mh
*
i
;
nh
-
=
2
*
c
-
>
border
;
nh
-
=
2
*
c
-
>
border
;
}
}
Write
Preview
Loading…
Cancel
Save