aboutsummaryrefslogtreecommitdiffstats
path: root/src/runxdg.hpp
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-12-03 19:39:12 +0000
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-12-03 19:39:12 +0000
commit415e5cbb5787aa0429558b5256bf912231297431 (patch)
tree5a72268897805028f89096afc3ab5f410b5430bb /src/runxdg.hpp
parent8c5d363c334474fee33a81837f9ce4e6d2d92cd8 (diff)
Force set/unset keyboard focus
This is work around which control keyboard focus for some applications on behalf of windowmanager or LayerManagerControl. Change-Id: I3c26c4c3544b987f48d849b34a4ea10c5a05a63b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src/runxdg.hpp')
-rw-r--r--src/runxdg.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runxdg.hpp b/src/runxdg.hpp
index ce0c016..595babe 100644
--- a/src/runxdg.hpp
+++ b/src/runxdg.hpp
@@ -30,6 +30,7 @@
#include <gio/gio.h>
#include <ilm/ilm_control.h>
+#include <ilm/ilm_input.h>
#include <libwindowmanager.h>
#include <libhomescreen.hpp>
@@ -149,6 +150,8 @@ class RunXDG
LibHomeScreen *m_hs;
ILMControl *m_ic;
+ t_ilm_surface m_ivi_id;
+
std::map<int, int> m_surfaces; // pair of <afm:rid, ivi:id>
bool m_pending_create = false;
@@ -158,7 +161,7 @@ class RunXDG
int parse_config(const char *file);
- void setup_surface(int id);
+ void setup_surface(void);
};
#endif // RUNXDG_HPP