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:
554b492
)
bugfix: UI has wrong position in landscape mode off
author
deasung.kim
<deasung.kim@samsung.com>
Mon, 2 May 2011 10:48:05 +0000
(19:48 +0900)
committer
deasung.kim
<deasung.kim@samsung.com>
Mon, 2 May 2011 10:49:56 +0000
(19:49 +0900)
Change-Id: Id0d06223292d353d412dea827e385d149f0185da
src/cbhm_main.c
patch
|
blob
|
history
diff --git
a/src/cbhm_main.c
b/src/cbhm_main.c
index
29b70d2
..
c54b8d0
100644
(file)
--- a/
src/cbhm_main.c
+++ b/
src/cbhm_main.c
@@
-16,6
+16,7
@@
#include "clipdrawer.h"
#include "scrcapture.h"
+#include <vconf.h>
#include <appcore-efl.h>
// FIXME: how to remove g_main_ad?
@@
-101,6
+102,13
@@
int get_rotation_degree()
{
int angle;
enum appcore_rm mode;
+
+ if (!vconf_get_bool(VCONFKEY_SETAPPL_ROTATE_LOCK_BOOL, &rotate_lock))
+ {
+ if (SETTING_ON_OFF_BTN_ON == rotate_lock)
+ return 0;
+ }
+
appcore_get_rotation_state(&mode);
if (mode == -1)
return 0;