ecore-wl2: Add environment variable to optionally disable wobbly windows

As not everyone needs/wants extra eye-candy, add a check for
EFL_WAYLAND_DISABLE_WWW environment variable to be able to disable
wobbly windows support

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-05-14 05:26:27 -04:00
parent 63787ee459
commit fb76fe55a5
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
EINA_INLIST_FOREACH(ewd->windows, window)
_ecore_wl2_window_shell_surface_init(window);
}
else if (eina_streq(interface, "www"))
else if ((eina_streq(interface, "www")) &&
(!getenv("EFL_WAYLAND_DISABLE_WWW")))
{
Ecore_Wl2_Window *window;