This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
unfocus on slow sloppy monitor focus
config
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