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
fixed focusmon brokeness
main
Anselm R Garbe
15 years ago
parent
b9dee2c6f1
commit
64674c395b
1 changed files
with
5 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-7
dwm.c
+ 5
- 7
dwm.c
View File
@ -804,13 +804,11 @@ focusmon(const Arg *arg) {
for
(
i
=
0
,
m
=
mons
;
m
;
m
=
m
-
>
next
,
i
+
+
)
if
(
i
=
=
arg
-
>
ui
)
{
if
(
m
-
>
stack
)
focus
(
m
-
>
stack
)
;
else
{
unfocus
(
selmon
-
>
stack
)
;
selmon
=
m
;
focus
(
NULL
)
;
}
if
(
m
=
=
selmon
)
return
;
unfocus
(
selmon
-
>
sel
)
;
selmon
=
m
;
focus
(
NULL
)
;
drawbars
(
)
;
break
;
}
Write
Preview
Loading…
Cancel
Save