This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fixed exit condition in togglemax()
master
Anselm R. Garbe
18 years ago
parent
6ee9f13457
commit
92105e7862
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
@ -195,7 +195,7 @@ void
togglemax
(
Arg
arg
)
{
togglemax
(
Arg
arg
)
{
XEvent
ev
;
XEvent
ev
;
if
(
!
sel
|
|
!
sel
-
>
isversatile
|
|
sel
-
>
isfixed
|
|
lt
-
>
arrange
!
=
versatile
)
if
(
!
sel
|
|
(
lt
-
>
arrange
!
=
versatile
&
&
!
sel
-
>
isversatile
)
|
|
sel
-
>
isfixed
)
return
;
return
;
if
(
(
sel
-
>
ismax
=
!
sel
-
>
ismax
)
)
{
if
(
(
sel
-
>
ismax
=
!
sel
-
>
ismax
)
)
{
sel
-
>
rx
=
sel
-
>
x
;
sel
-
>
rx
=
sel
-
>
x
;
Write
Preview
Loading…
Cancel
Save