On 2020/05/21 13:49, Theo Buehler wrote:
> On Thu, May 21, 2020 at 11:58:37AM +0100, Stuart Henderson wrote:
> > I've written a patch to add bsd-auth support back to slock 1.4 which
> > I've been using for a while. Tidied the make variable handling a bit
> > as well, no need to patch to use ?=, they can just be overridden with
> > MAKE_FLAGS. OK?
> 
> I would prefer if this used the libc version of explicit_bzero instead
> of the local copy. For this, set COMPATSRC to empty in compat.mk (why do
> you add a COPTSFLAG=-Os via a patch?).

I wanted to keep the patched Makefile doing the same thing as the original,
just allowing optimizer flags to be changed without having to copy the set of
standard flags to the port.

> Out of curiosity: what prompted this update?

I wanted to try jcs's modified version that adds DPMS support (which was forked
after bsd-auth was removed) so I had to add that back in. And having done that
I though I might as well send a diff for the port.

On 2020/05/23 20:40, Gleydson Soares wrote:
> On Thu, May 21, 2020 at 01:49:36PM +0200, Theo Buehler wrote:
> > While the updated slock seems to work fine from the command line, it
> > doesn't lock at all if I use it from a i3 binding.  I have been using
> > 
> >     bindsym $mod+Mod1+l exec "slock"
> 
> It happens with some X11 apps that request the mouse pointer right away, 
> but it is grabbed so it fails, 
> 
> You can fix it changing your bindkey to something like:
> "bindsym --release $mod+Mod1+l exec "sleep 0.5 ; slock"
> 
> Actually, i3 has a feature for dealing with it though, --release:
> try better: bindsym --release $mod+Mod1+l exec "slock"

Thanks for tracking that down + the workaround!


Reply via email to