[PATCH] ivi-shell: activate weston surface with a seat when left click or touch.
Pekka Paalanen
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(+)
> Hi,
>
> 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.
Hi,
pushed as part of:
To ssh://git.freedesktop.org/git/wayland/weston
748c695..1c2201b master -> master
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151214/718dbed2/attachment-0001.sig>
More information about the wayland-devel
mailing list