ecore/wayland: Fix screen geometry when it is rotated.
authorRafael Antognolli <rafael.antognolli@linux.intel.com>
Tue, 2 Apr 2013 20:11:10 +0000 (17:11 -0300)
committerRafael Antognolli <rafael.antognolli@linux.intel.com>
Tue, 2 Apr 2013 20:27:39 +0000 (17:27 -0300)
commit97d06e5b3f4b658d60ef9ff2e3d1d81ce86cb3b3
tree25dd82289c82d6e0f4ae95aad909620bd80cbc31
parent1cb5a8f63ab818c3cbf32142d99996fb80a7ad13
ecore/wayland: Fix screen geometry when it is rotated.

Width and height should be swapped when the screen is rotated by 90 or
270 degrees.

Additionally, add a command to the ecore_evas_window_sizes_example which
returns the screen geometry.
src/examples/ecore/ecore_evas_window_sizes_example.c
src/lib/ecore_wayland/Ecore_Wayland.h
src/lib/ecore_wayland/ecore_wl.c
src/lib/ecore_wayland/ecore_wl_output.c