From 8558bda51548cde1f9e7d46526bdbcc2475fe8e6 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Wed, 14 Nov 2018 20:09:46 +0900 Subject: Improve window manager * Make sure there is no difference from the main line's line as much as possible * Fix timing issue of launcher and homescreen Change-Id: I39da579d62927278c308d56d53eed005b4284715 Signed-off-by: Kazumasa Mitsunari --- src/applist.hpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/applist.hpp') diff --git a/src/applist.hpp b/src/applist.hpp index 36e0524..085504a 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -31,13 +31,6 @@ namespace wm /* using std::experimental::nullopt; using std::experimental::optional; */ -struct FloatingSurface -{ - std::string appid; - unsigned surface_id; - unsigned pid; -}; - class AppList { public: @@ -59,14 +52,6 @@ class AppList void removeSurface(unsigned surface); std::string getAppID(unsigned surface, bool* found) const; // TODO: remove - - // Floating surface - void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role); - void addFloatingSurface(const std::string &appid, unsigned surface, unsigned pid); - WMError popFloatingSurface(unsigned pid, unsigned *surface); - WMError popFloatingSurface(const std::string &appid, unsigned *surface); - void removeFloatingSurface(unsigned surface); - // Request Interface unsigned currentRequestNumber() const; unsigned getRequestNumber(const std::string &appid) const; @@ -85,14 +70,12 @@ class AppList void clientDump(); void reqDump(); - void dumpFloatingSurfaces(); private: std::vector req_list; std::unordered_map> app2client; unsigned current_req; std::mutex mtx; - std::vector floating_surfaces; }; } // namespace wm -- cgit 1.2.3-korg