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
applied Jukkas patch
master
Anselm R. Garbe
18 years ago
parent
59e65d1709
commit
39ae286861
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
client.c
+1
-1
event.c
+ 1
- 1
client.c
View File
@ -131,7 +131,7 @@ detach(Client *c) {
void
focus
(
Client
*
c
)
{
if
(
!
c
&
&
selscreen
|
|
c
&
&
!
isvisible
(
c
)
)
if
(
(
!
c
&
&
selscreen
)
|
|
(
c
&
&
!
isvisible
(
c
)
)
)
for
(
c
=
stack
;
c
&
&
!
isvisible
(
c
)
;
c
=
c
-
>
snext
)
;
if
(
sel
&
&
sel
!
=
c
)
{
grabbuttons
(
sel
,
False
)
;
+ 1
- 1
event.c
View File
@ -244,7 +244,7 @@ enternotify(XEvent *e) {
if
(
ev
-
>
mode
!
=
NotifyNormal
|
|
ev
-
>
detail
=
=
NotifyInferior
)
return
;
if
(
c
=
getclient
(
ev
-
>
window
)
)
if
(
(
c
=
getclient
(
ev
-
>
window
)
)
)
focus
(
c
)
;
else
if
(
ev
-
>
window
=
=
root
)
{
selscreen
=
True
;
Write
Preview
Loading…
Cancel
Save