aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-13main: Add support for GetOuputs requestsandbox/mvlad/use-grpc-for-activationMarius Vlad4-1/+58
Bug-AGL: SPEC-4503 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I484f2170d62f93c3f01b4131436daf5c144c45e8
2022-10-27src: Re-work actions and provide a callbackMarius Vlad4-72/+145
This re-works a bit the way we handle events, and allows to pass a callback to the client directly. This patch further cleans-up the older agl-shell-desktop implementation and adds a a new action, 'deactivate' request as another example. Further more, clients can now choose to just listen for events, or listen for events and perform an action (activate). Bug-AGL: SPEC-4503 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic9f8bb1f6ff1c7f6b69f2059caac066ee106beba
2022-10-27meson.build: Remove all traces of agl-shell-desktopMarius Vlad2-251/+0
This patch removes support for agl-shell-desktop. Bug-AGL: SPEC-4503 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1ad69a4fc4c8ccdc9c659ec1a50526fc9f3a8d81
2022-10-27src: Add initial support for gRPCMarius Vlad5-33/+286
Brings in initial support for gRPC. It re-uses the same protobuf as supplied by the compositor. With it, this changes from C to CPP as that allows far better and easier integration with gRPC. Bug-AGL: SPEC-4503 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Idf09db80063dfa0c4cd7f3f345686fe9d2d27622
2022-08-30main: Add support for binding to wl_output version 4Marius Vlad1-12/+55
This allows the ability to specify which output to activate the surface/application. Note that this requires a libweston update to include support for this new interface update, but it still fallbacks to to version 3 and uses the first available output if uses that older interface. Bug-AGL: SPEC-4530 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I151368720093422565746a01048fc2802c55c553
2022-05-12Fix compilation error due to missing wl_output_listener fields initializers.needlefish_13.93.0needlefish/13.93.013.93.0Vasyl Vavrychuk1-0/+12
Bug-AGL: SPEC-4369 Change-Id: I9d575952a01178e6ff175f96a6946e40d980eaef Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-05-04Fix no reaction to 'Ctrl+C'.Vasyl Vavrychuk1-14/+1
'Ctrl+C' was intercepted by 'handler'. Function 'handler' set 'running' to zero but it had no effect since wl_display_dispatch was waiting for wayland events. Bug-AGL: SPEC-4347 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I71fcb8bc48a54d483737c83187c18414770580eb
2022-05-04Remove unneeded wl_display_flush.Vasyl Vavrychuk1-5/+1
wl_display_dispatch will do flush. Bug-AGL: SPEC-4347 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I495e8024dc9a8b10c7aea42281e007018ad83a19
2022-04-14script/agl-activator: No need for the scriptMarius Vlad2-37/+0
Script is no longer needed. Running it as the regular user (agl-driver) will no longer need this script. Bug-AGL: SPEC-4324 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If7bcb035039b1e45d842b5fa75144ee82edf91f1
2022-04-14main: Handle agl-shell-desktop eventsMarius Vlad1-4/+50
We get back an event when the application has been activated, so use it. Bug-AGL: SPEC-4324 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1d47cf0612e3c98b2fd54925c3274b28ff743be7
2022-04-14meson.build: Update compositor protocols versionMarius Vlad1-1/+1
We've updated the protocols a while ago, but forgot to update this one as well. Bug-AGL: SPEC-4324 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3b0401455b5644e4a55c8ca6e4a02c26db74a1a6
2021-05-11Initial commitmarlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_11.0.5koi_11.0.4koi_11.0.3koi/11.0.5koi/11.0.4koi/11.0.312.93.012.92.012.91.012.90.112.90.011.92.011.91.011.0.511.0.411.0.3sandbox/mvlad/initMarius Vlad8-0/+646
Bug-AGL: SPEC-3817 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie7e2168737f668a5c558b0fad3e58fe42f81e62e
2021-05-05Initial empty repositoryJan-Simon Moeller0-0/+0