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:
6ed4819
)
rotation: added code to reset fg_ec when it is just about to hide.
93/99293/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 22 Nov 2016 09:51:40 +0000
(18:51 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 22 Nov 2016 09:51:40 +0000
(18:51 +0900)
To find a topmost fullscreen visible window properly,
we need to reset fg_ec if it's hidden.
Change-Id: If67fa29e228d151fe8762b987f197840f6a3181e
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
b7baf41
..
f25ef6b
100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-1702,6
+1702,9
@@
_rot_intercept_hook_hide(void *d EINA_UNUSED, E_Client *ec)
// clear pending_show, because this window is hidden now.
ec->e.state.rot.pending_show = 0;
+ if (fg_ec == ec)
+ fg_ec = NULL;
+
// for rotating ec in the force_update_list
_e_client_rotation_zone_set(ec->zone, fg_ec, ec);