projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
851c1c9
)
rotation: check the size swap config value while handling rotating
55/291655/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Thu, 20 Apr 2023 01:54:35 +0000
(10:54 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Thu, 20 Apr 2023 01:54:35 +0000
(10:54 +0900)
We add code to check the wm_win_rotation_swap_size config value while
handling rotate.
We swap the size only if this config is enabled.
Change-Id: I86f8897fb712372f6d55c20e571ccf35d013c32e
src/rotation/e_mod_rotation_wl.c
patch
|
blob
|
history
diff --git
a/src/rotation/e_mod_rotation_wl.c
b/src/rotation/e_mod_rotation_wl.c
index
d9b5eb4
..
9092599
100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-963,6
+963,9
@@
_e_client_rotation_swap_check(E_Client *ec)
// Check whether the width and height of ec are swapped or not.
// If you want to make your swap policy, then you can modify this function.
+ if (!e_config->wm_win_rotation_swap_size)
+ return EINA_FALSE;
+
int x, y, w, h;
if (e_policy_client_is_keyboard(ec) ||