shot: Skip the wayland setup bits when running under X

fix T2592

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2851
This commit is contained in:
Derek Foreman 2015-07-21 12:23:08 -04:00 committed by Mike Blumenkrantz
parent e78abc23c1
commit aae280bfcd
1 changed files with 2 additions and 0 deletions

View File

@ -1285,6 +1285,8 @@ e_modapi_init(E_Module *m)
("main/2", _("Take Screenshot"), _e_mod_menu_add, NULL, NULL, NULL);
border_hook = e_int_client_menu_hook_add(_bd_hook, NULL);
if (e_comp->comp_type == E_PIXMAP_TYPE_X) return m;
#ifdef HAVE_WAYLAND
Eina_Inlist *globals;
Ecore_Wl_Global *global;