Handle window movement/resize/close on our side and not in Android
This leads to much better performance and user interaction. Resizing still has some flickering but that is a different area of problems.
This commit is contained in:
parent
bd6e17ef70
commit
65531a3b82
17 changed files with 230 additions and 41 deletions
|
|
@ -39,6 +39,8 @@ class InstallApplication;
|
|||
class LaunchApplication;
|
||||
class SetDnsServers;
|
||||
class SetFocusedTask;
|
||||
class RemoveTask;
|
||||
class ResizeTask;
|
||||
} // namespace bridge
|
||||
namespace rpc {
|
||||
class Void;
|
||||
|
|
@ -57,6 +59,14 @@ public:
|
|||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
void remove_task(anbox::protobuf::bridge::RemoveTask const *request,
|
||||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
void resize_task(anbox::protobuf::bridge::ResizeTask const *request,
|
||||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
private:
|
||||
void wait_for_process(core::posix::ChildProcess &process,
|
||||
anbox::protobuf::rpc::Void *response);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue