[PATCH] ivi-shell: activate weston surface with a seat when left click or touch.
ppaalanen at gmail.com
Mon Dec 14 03:45:00 PST 2015
On Wed, 9 Dec 2015 12:08:09 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On Wed, 9 Dec 2015 15:03:47 +0900
> Nobuhiko Tanibata <nobuhiko_tanibata at xddp.denso.co.jp> wrote:
> > From: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
> > Similar with Desktop shell, set activate to weston surface which is
> > left-clicked by pointer or touched. This is needed to focus it with a seat.
> > Without this, a feature who gets activated weston surface by using
> > weston_surface_get_main_surface doesn't work correctly because it can
> > not get correct focused weston surface. For example, input-panel uses
> > weston_surface_get_main_surface to get a weston surface. With this
> > weston surface, it get a member: output to decide which output shall
> > show a input-panel, software keyboard. Without activation,
> > input-panel-ivi can not find a correct output which shows e.g.
> > weston-editor who uses input-method.
> > Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
> > ---
> > ivi-shell/ivi-shell.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 54 insertions(+)
> Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> Tested-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> With this patch, first clicking weston-editor to bring OSK up and then
> clicking another app correctly causes the OSK to hide. Without this
> patch it did not happen.
> With the ivi-shell multiscreen support series, this patch also causes
> the OSK to appear on the correct output while previously the OSK always
> appeared on the one output.
pushed as part of:
748c695..1c2201b master -> master
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 811 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel