app/wayland: move late-tasks to App
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Wed, 2 Aug 2017 14:16:15 +0000 (16:16 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
commit93c2a361b2144d82ec70208225c45afd8f355bd3
tree43801ffca32edaec732b391f4bbf5633de09f6cf
parent9b094f7e17736529e8fd1d25515112f9a1a2daac
app/wayland: move late-tasks to App

* Move late-tasks to App.
* Add add_task() to controller_hooks.
* Do not roundtrip at the end of App::execute_pending(), flush() is
  enough.
* Tasks are now void() functions, need to capture what is needed.

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/app.cpp
src/app.hpp
src/controller_hooks.hpp
src/wayland.cpp
src/wayland.hpp