Re: [PATCH weston] libinput: Restore keyboard focus after VT switch

2018-08-01 Thread Peter Hutterer
for the archives, this had a short discusson on IRC but then fell under the radar again On Sun, Jul 22, 2018 at 06:53:56AM -0700, Jamey Sharp wrote: > Hey Daniel, thanks for taking a look! It turns out that this patch worked > in Weston 3, but in Weston 4, commit > 85d55540cb64bf97a08b40f79dc66843

Re: [PATCH weston] libinput: Restore keyboard focus after VT switch

2018-07-22 Thread Jamey Sharp
Hey Daniel, thanks for taking a look! It turns out that this patch worked in Weston 3, but in Weston 4, commit 85d55540cb64bf97a08b40f79dc66843f8295d3 broke it. I didn't investigate carefully enough to understand what that commit was for or why it broke this, but my patch plus a revert of that comm

Re: [PATCH weston] libinput: Restore keyboard focus after VT switch

2018-07-22 Thread Daniel Stone
Hi Jamey, On Wed, 23 May 2018 at 14:16, Jamey Sharp 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

[PATCH weston] libinput: Restore keyboard focus after VT switch

2018-05-23 Thread Jamey Sharp
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_notif