[PATCH weston 2/2] Reset the keyboard focus on all seats when the compositor is locked

Neil Roberts neil at linux.intel.com
Wed Apr 9 09:08:23 PDT 2014


"Jasper St. Pierre" <jstpierre at mecheye.net> writes:

> Why is this necessary? Won't events never be delivered while locked
> anyway?

Events do seem to get delivered, you can try it if you run weston -i5
and then open a terminal and let it lock. You can still type in the
terminal and launch programs.

But yeah, I guess an alternative solution could be to block it at a
lower level in the input handling code. I'm not sure whether that's a
good idea though because eventually we might want a password entry or
something on the lock screen and then we would want the keyboard to
work. It would a shame to have to put too much special magic in there to
get that to work.

- Neil


More information about the wayland-devel mailing list