projects
/
framework
/
uifw
/
cbhm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336d128
)
using utilx_get_screen_capture function for MDM
author
deasung.kim
<deasung.kim@samsung.com>
Thu, 20 Oct 2011 08:47:55 +0000
(17:47 +0900)
committer
deasung.kim
<deasung.kim@samsung.com>
Thu, 20 Oct 2011 08:47:55 +0000
(17:47 +0900)
src/scrcapture.c
patch
|
blob
|
history
diff --git
a/src/scrcapture.c
b/src/scrcapture.c
index
3871305
..
d29a965
100644
(file)
--- a/
src/scrcapture.c
+++ b/
src/scrcapture.c
@@
-117,6
+117,13
@@
static Eina_Bool _scrcapture_capture_postprocess(void* data)
Eina_Bool capture_current_screen(void *data)
{
struct appdata *ad = data;
+ if (!utilx_get_screen_capture(XOpenDisplay(NULL)))
+ {
+ DTRACE("utilx_get_screen_capture: disable\n");
+ return EINA_FALSE;
+ }
+ else
+ DTRACE("utilx_get_screen_capture: enable\n");
if (g_shot)
{