Hi Jamey, On Wed, 23 May 2018 at 14:16, Jamey Sharp <[email protected]> wrote: > Under Weston's drm-backend, after returning to Weston from another VT, > no window has focus. > > There's already code in notify_keyboard_focus_out and > notify_keyboard_focus_in to save and restore focus, respectively; and > udev_input_enable eventually calls notify_keyboard_focus_in, by way of > evdev_notify_keyboard_focus. But udev_input_disable doesn't currently > call notify_keyboard_focus_out. > > This patch makes udev_input_disable symmetric with udev_input_enable by > calling notify_keyboard_focus_out on every seat, to save focus before > suspending libinput. In my testing this successfully resolved my issue. > However, I don't have a multi-seat setup to verify that it works there > too.
This seems correct to me. Peter, any thoughts/comments? Cheers, Daniel _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
