This website works better with JavaScript.
Home
Explore
Help
Sign In
gmarx
/
dwm-macbookair
mirror of
https://github.com/gmarxcc/dwm-macbookair
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
selmon optimisation is needed
main
Anselm R Garbe
14 years ago
parent
aa9f2be24e
commit
a88e0373ef
1 changed files
with
0 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
dwm.c
+ 0
- 4
dwm.c
View File
@ -815,10 +815,6 @@ void
focus
(
Client
*
c
)
{
focus
(
Client
*
c
)
{
if
(
!
c
|
|
!
ISVISIBLE
(
c
)
)
if
(
!
c
|
|
!
ISVISIBLE
(
c
)
)
for
(
c
=
selmon
-
>
stack
;
c
&
&
!
ISVISIBLE
(
c
)
;
c
=
c
-
>
snext
)
;
for
(
c
=
selmon
-
>
stack
;
c
&
&
!
ISVISIBLE
(
c
)
;
c
=
c
-
>
snext
)
;
if
(
c
&
&
c
=
=
selmon
-
>
sel
)
{
D
fprintf
(
stderr
,
"
focus, optimising focus away
\n
"
)
;
return
;
}
if
(
selmon
-
>
sel
)
if
(
selmon
-
>
sel
)
unfocus
(
selmon
-
>
sel
)
;
unfocus
(
selmon
-
>
sel
)
;
if
(
c
)
{
if
(
c
)
{
Write
Preview
Loading…
Cancel
Save