On Thu, Feb 09, 2012 at 08:19:35PM +0100, Anselm R Garbe wrote: > On 9 February 2012 19:50, Eckehard Berns <ecki-suckl...@ecki.to> wrote: > > $ ./slock & ( sleep 1 ; st ) > > > > will show a terminal window on top of the black slock window. Not that I > > could use the terminal, but it's shown. > > Not for me, I can't reproduce this.
Hmm, maybe my 64bit system again? I tried several things to get this working. First, on my system slock would not see any event besides KeyPress/KeyRelease (and mybe mouse movement - didn't test), then after explicitly requesting a VisibilityChangeMask, slock worked until I restarted xcompmgr again (stopped it for testing purposes). Now I added a call to XSelectInput(dpy, lock->root, SubstructureNotifyMask); That did work for me every time (with and without xcompmgr, no further changes to slock.c required). -- Eckehard Berns