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
simplified detach()
master
Anselm R Garbe
17 years ago
parent
45768ee04b
commit
f529d41ca1
1 changed files
with
3 additions
and
9 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-9
dwm.c
+ 3
- 9
dwm.c
View File
@ -459,16 +459,10 @@ destroynotify(XEvent *e) {
void
void
detach
(
Client
*
c
)
{
detach
(
Client
*
c
)
{
Client
*
i
;
Client
*
*
tc
;
if
(
c
!
=
clients
)
{
for
(
i
=
clients
;
i
-
>
next
!
=
c
;
i
=
i
-
>
next
)
;
i
-
>
next
=
c
-
>
next
;
}
else
{
clients
=
c
-
>
next
;
}
c
-
>
next
=
NULL
;
for
(
tc
=
&
clients
;
*
tc
&
&
*
tc
!
=
c
;
tc
=
&
(
*
tc
)
-
>
next
)
;
*
tc
=
c
-
>
next
;
}
}
void
void
Write
Preview
Loading…
Cancel
Save