Hi!

On Fri, Jun 16, 2017 at 11:22PM, Barak A. Pearlmutter wrote:
> Under GNOME (Wayland), running slock works okay until you hit the MENU
> key (the one that shows all the windows spread out and small, but with
> all their glorious content clearly visible albeit dinky) at which point
> one can look at what's displayed in the windows, or kill a window, or
> even pull down a menu and pick something naughty.

I am surprised slock even works under Wayland. slock uses XGrabKeyboard,
and if I understand correctly, X11 grabs don't work with Wayland,
because the Wayland window manager lives at a higher level that the X11
emulation layer.

What could be done here, is to check whether slock runs under Wayland
and prevent it from starting. Note that xscreensaver does the same
thing.

-- 
Ilias

Reply via email to