projects
/
suckless
/
slock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff0d9f
)
syntax fix
author
Markus Teich
<teichm@fs.tum.de>
Tue, 22 Nov 2016 23:28:43 +0000
(
00:28
+0100)
committer
Markus Teich
<teichm@fs.tum.de>
Tue, 22 Nov 2016 23:28:43 +0000
(
00:28
+0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index 700acfb4f5c969adc503fbabfb2b9ffd58932f0b..d55eb3d7346160613791b0436b92f1672271a8b4 100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-212,8
+212,10
@@
readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
break;
}
}
- } else for (screen = 0; screen < nscreens; screen++)
- XRaiseWindow(dpy, locks[screen]->win);
+ } else {
+ for (screen = 0; screen < nscreens; screen++)
+ XRaiseWindow(dpy, locks[screen]->win);
+ }
}
}