ecore-evas-x: resize window when it is rotated by window manager.
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 29 Jul 2015 15:14:11 +0000 (11:14 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 29 Jul 2015 15:14:11 +0000 (11:14 -0400)
commitb38b349262e2afff456b1ccb33161fc3a2602c5a
tree3834c79f23d8296fbafa20cc4d9995ce20313164
parentffa63c0741d93012684e5d299dc9fdf2f4f0c406
ecore-evas-x: resize window when it is rotated by window manager.

Summary:
window manager can send arguments and its meaning as follows.

1) resize:0
it means client window doesn't need to resize its window by rotation.
this case is a ELM_WIN_BASIC window in mobile profile.

2) resize:1, ee->w != w, ee->h != h (deprecated)
it means client window should be resized by rotation, and wm already resize its window.
so, client don't need to resize its window.
it's just for backward compatibility.

3) resize:1, ee->w == w, ee->h == h (addition)
it means client window should be resized by rotation, and wm don't resize it.
so, client should resize its window.

Test Plan: N/A

Reviewers: gwanglim, raster, jypark, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2831
src/modules/ecore_evas/engines/x/ecore_evas_x.c