pinosaur
/
slock.git
/ commitdiff
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
700acfb
..
d55eb3d
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);
+ }
}
}