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: [RFC weston] clients: Don't attach a buffer if mouse cursor surface is unchanged

2018-07-22 Thread Daniel Stone
Hey Derek, On Thu, 22 Feb 2018 at 22:16, Derek Foreman wrote: > Keep track of what cusor image buffer is attached to the cursor > surface and avoid re-attaching it if we don't have to. > > This isn't just an obviously pointless optimization, it turns all > of toy toolkit into a test case for hand

Re: [PATCH weston] shared/config-parser: Allow spaces/tabs at the end for

2018-07-22 Thread Daniel Stone
Hi Marius, On Wed, 21 Feb 2018 at 14:38, Marius Vlad wrote: > @@ -456,6 +457,10 @@ weston_config_parse(const char *name) > section = config_add_section(config, &line[1]); > continue; > default: > + start_line = s

Re: [PATCH] xwayland/selection: do not remove NULL property_source

2018-07-22 Thread Daniel Stone
Hi Greg, On Tue, 10 Apr 2018 at 18:01, Greg V wrote: > Happened mostly with neovim's xclip usage. Thanks, I've merged this, updated to include more cases where it could be NULL: 67546bed0..3ea5437db 3ea5437dbd07d9a94aebbb651d8f8eeacc8765bd -> master Cheers, Daniel __

Re: [prefix=PATCH weston] gl-renderer.c: Pass visual ID for choosing egl configs for pbuffer

2018-07-22 Thread Daniel Stone
Hi Madhurkiran, On Wed, 21 Mar 2018 at 22:45, Madhurkiran Harikrishnan wrote: > + if (pbuffer_config != gr->egl_config && > + !gr->has_configless_context) { > + weston_log("attempted to use a different EGL config for an " > + "output but EGL_

Re: [PATCH weston v2] ivi-shell: use install paths in example config

2018-07-22 Thread Daniel Stone
Hi all, On Wed, 27 Jun 2018 at 13:50, Emil Velikov wrote: > On 27 June 2018 at 12:12, Emil Velikov wrote: > > On 27 June 2018 at 12:01, Michael Tretter wrote: > >> On Fri, 25 May 2018 08:46:16 +0200, Michael Tretter wrote: > >>> On Thu, 24 May 2018 17:08:47 +0200, Emre Ucan wrote: > >>> > The e

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

Re: [PATCH weston] ivi-shell: listen compositor wake_signal

2018-07-22 Thread Daniel Stone
Hi Emre, On Tue, 5 Jun 2018 at 09:30, Emre Ucan wrote: > If compositor wakes up from sleep state, we have > to trigger repaint for all outputs. Seems trivially correct, merged with review: 280b73014..cf4113c62 cf4113c629751adcbb9904087932e12b5621219b -> master Cheers, Daniel ___

[PATCH wayland 2/2] build/doc: Ensure destination dir exists despite VPATH

2018-07-22 Thread Daniel Stone
Make considers a variable called VPATH when trying to satisfy dependencies, e.g. for a target 'foo', it will consider the target extant if VPATH is '../../bar' and '../../bar/foo' exists. Part of the doc build, the '$(alldirs)' target, exists to create the target directories if they do not exist.

[PATCH wayland 0/2] Fix autotools doc build with Meson

2018-07-22 Thread Daniel Stone
Hi, The horribly ugly second patch fixes the autotools doc build, which started failing after adding Meson support. The presence of $(srcdir)/doc/doxygen/xml, created to hold meson.build, caused autotools to believe it no longer needed to create $(builddir)/doc/doxygen/xml, then immediately fail wh

[PATCH wayland 1/2] spec: Delete old unused directory

2018-07-22 Thread Daniel Stone
The protocol spec used to live here, but it's now part of the regular doc build. The PNG files are created as part of the doc build. Delete the pre-generated versions. Signed-off-by: Daniel Stone --- spec/.gitignore | 3 --- spec/wayland-architecture.png | Bin 29162 -> 0 bytes s