princeamd pushed a commit to branch enlightenment-0.17.
commit 3e081a24323f8d68c61567d738b8a8a439c4c573
Author: Mike Blumenkrantz <[email protected]>
Date: Mon Aug 5 08:06:24 2013 +0100
Backport: e4f4a29 :: +e_xinerama_fake_screens_exist
Signed-off-by: Deon Thomas <[email protected]>
---
src/bin/e_xinerama.c | 6 ++++++
src/bin/e_xinerama.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/src/bin/e_xinerama.c b/src/bin/e_xinerama.c
index 91b077b..5a786f4 100644
--- a/src/bin/e_xinerama.c
+++ b/src/bin/e_xinerama.c
@@ -58,6 +58,12 @@ e_xinerama_fake_screen_add(int x, int y, int w, int h)
fake_screens = eina_list_append(fake_screens, scr);
}
+EAPI Eina_Bool
+e_xinerama_fake_screens_exist(void)
+{
+ return !!fake_screens;
+}
+
/* local subsystem functions */
static void
_e_xinerama_clean(void)
diff --git a/src/bin/e_xinerama.h b/src/bin/e_xinerama.h
index 6e0e6b5..544154b 100644
--- a/src/bin/e_xinerama.h
+++ b/src/bin/e_xinerama.h
@@ -18,6 +18,7 @@ EAPI void e_xinerama_update(void);
EAPI const Eina_List *e_xinerama_screens_get(void);
EAPI const Eina_List *e_xinerama_screens_all_get(void);
EAPI void e_xinerama_fake_screen_add(int x, int y, int w, int h);
+EAPI Eina_Bool e_xinerama_fake_screens_exist(void);
#endif
#endif
--
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk