discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=15663e51f428f74d38f91ba61dcb1853070ea695
commit 15663e51f428f74d38f91ba61dcb1853070ea695 Author: Mike Blumenkrantz <m.blumenk...@samsung.com> Date: Tue Oct 1 10:34:20 2013 +0100 add test for fullscreen overrides current status: FAIL --- src/tests/override_fullscreen.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/tests/override_fullscreen.c b/src/tests/override_fullscreen.c new file mode 100644 index 0000000..331119b --- /dev/null +++ b/src/tests/override_fullscreen.c @@ -0,0 +1,31 @@ +#include <Ecore_X.h> + +static Ecore_X_Window a = 0; + +static Eina_Bool +test_state(void *d EINA_UNUSED) +{ + int w, h; + + ecore_x_window_geometry_get(a, NULL, NULL, &w, &h); + if ((w == 100) || (h == 100)) + fprintf(stderr, "FAIL\n"); + return EINA_FALSE; +} + +int +main(void) +{ + + + ecore_x_init(NULL); + + a = ecore_x_window_override_new(0, 0, 0, 100, 100); + ecore_x_window_show(a); + ecore_x_netwm_state_request_send(a, 0, + ECORE_X_WINDOW_STATE_FULLSCREEN, -1, 1); + ecore_x_icccm_name_class_set(a, "override_fullscreen", "test"); + ecore_timer_add(1.0, test_state, NULL); + ecore_main_loop_begin(); + return 0; +} --