Re: [dev] please test slock tip

From: Eckehard Berns <ecki-suckless_AT_ecki.to>
Date: Thu, 9 Feb 2012 20:51:59 +0100

On Thu, Feb 09, 2012 at 08:19:35PM +0100, Anselm R Garbe wrote:
> On 9 February 2012 19:50, Eckehard Berns <ecki-suckless_AT_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
Received on Thu Feb 09 2012 - 20:51:59 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 09 2012 - 21:00:06 CET