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
unfocus on slow sloppy monitor focus
main
Connor Lane Smith
12 years ago
parent
51336aa4a3
commit
54c3044dec
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
dwm.c
+ 1
- 0
dwm.c
View File
@ -1212,6 +1212,7 @@ motionnotify(XEvent *e) {
if
(
ev
-
>
window
!
=
root
)
return
;
if
(
(
m
=
recttomon
(
ev
-
>
x_root
,
ev
-
>
y_root
,
1
,
1
)
)
!
=
mon
&
&
mon
)
{
unfocus
(
selmon
-
>
sel
,
True
)
;
selmon
=
m
;
focus
(
NULL
)
;
}
Write
Preview
Loading…
Cancel
Save