summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
ModeNameSize
d---------classes56logstatsplain
d---------conf38logstatsplain
d---------meta-boundary / recipes-kernel / linux41logstatsplain
d---------meta-fsl-arm-extra36logstatsplain
d---------meta-fsl-arm79logstatsplain
d---------meta-fsl-bsp-release36logstatsplain
d---------meta-intel84logstatsplain
d---------meta-oic / recipes-core / iotivity39logstatsplain
d---------meta-qcom / recipes-kernel / linux41logstatsplain
d---------meta-raspberrypi122logstatsplain
d---------meta-rcar-gen3287logstatsplain
d---------meta-renesas122logstatsplain
d---------meta-ti198logstatsplain
d---------recipes-graphics65logstatsplain
d---------recipes-kernel / linux32logstatsplain
.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
From 4534fcab54409b08faf4445ed6780136b58afb63 Mon Sep 17 00:00:00 2001
From: Marius Vlad <marius.vlad@collabora.com>
Date: Mon, 28 Sep 2020 22:51:00 +0300
Subject: [PATCH 1/2] libweston: Migrate weston_seat_init/release to public
 headers

weston_seat_init/release needed for creating weston plug-ins that want
manage seat/input on their own.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
---
 include/libweston/libweston.h  | 25 +++++++++++++++++++++++++
 libweston/libweston-internal.h | 31 +++----------------------------
 2 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h
index 54ea008..59541f2 100644
--- a/include/libweston/libweston.h
+++ b/include/libweston/libweston.h
@@ -2053,6 +2053,31 @@ void
 weston_timeline_refresh_subscription_objects(struct weston_compositor *wc,
 					     void *object);
 
+/* input, seat */
+void
+weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec,
+		const char *seat_name);
+void
+weston_seat_release(struct weston_seat *seat);
+
+void
+weston_seat_init_pointer(struct weston_seat *seat);
+
+int
+weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap);
+
+void
+weston_seat_init_touch(struct weston_seat *seat);
+
+void
+weston_seat_release_keyboard(struct weston_seat *seat);
+
+void
+weston_seat_release_pointer(struct weston_seat *seat);
+
+void
+weston_seat_release_touch(struct weston_seat *seat);
+
 #ifdef  __cplusplus
 }
 #endif
diff --git a/libweston/libweston-internal.h b/libweston/libweston-internal.h
index 66c38e8..f5c4c2c 100644
--- a/libweston/libweston-internal.h
+++ b/libweston/libweston-internal.h
@@ -168,44 +168,19 @@ weston_plane_init(struct weston_plane *plane,
 void
 weston_plane_release(struct weston_plane *plane);
 
-/* weston_seat */
-
 struct clipboard *
 clipboard_create(struct weston_seat *seat);
 
-void
-weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec,
-		 const char *seat_name);
-
-void
-weston_seat_repick(struct weston_seat *seat);
+/* weston_seat */
 
 void
-weston_seat_release(struct weston_seat *seat);
+weston_seat_update_keymap(struct weston_seat *seat, struct xkb_keymap *keymap);
 
 void
 weston_seat_send_selection(struct weston_seat *seat, struct wl_client *client);
 
 void
-weston_seat_init_pointer(struct weston_seat *seat);
-
-int
-weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap);
-
-void
-weston_seat_init_touch(struct weston_seat *seat);
-
-void
-weston_seat_release_keyboard(struct weston_seat *seat);
-
-void
-weston_seat_release_pointer(struct weston_seat *seat);
-
-void
-weston_seat_release_touch(struct weston_seat *seat);
-
-void
-weston_seat_update_keymap(struct weston_seat *seat, struct xkb_keymap *keymap);
+weston_seat_repick(struct weston_seat *seat);
 
 void
 wl_data_device_set_keyboard_focus(struct weston_seat *seat);
-- 
2.28.0