aboutsummaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 28cb4f9..5f183a2 100644
--- a/slock.c
+++ b/slock.c
@@ -134,7 +134,7 @@ readpw(Display *dpy, const char *pws)
}
}
else for(screen = 0; screen < nscreens; screen++)
- XMapRaised(dpy, locks[screen]->win);
+ XRaiseWindow(dpy, locks[screen]->win);
}
}