diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-14 05:26:27 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-05-14 05:26:27 -0400 |
commit | fb76fe55a52ac212b6870f1d74470a79ea5c5246 (patch) | |
tree | b223ee13abadb601c1a92eaf5d35ab31021f19ea | |
parent | 63787ee4592de40a104029636eaf6adfef43782e (diff) | |
download | efl-fb76fe55a52ac212b6870f1d74470a79ea5c5246.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c index 6e659f0e60..2b007ca64e 100644 --- a/src/lib/ecore_wl2/ecore_wl2_display.c +++ b/src/lib/ecore_wl2/ecore_wl2_display.c @@ -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; |