shot: Disable window shots in wayland for now
authorChris Michael <cp.michael@samsung.com>
Wed, 8 Jul 2015 19:41:23 +0000 (15:41 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 8 Jul 2015 19:41:23 +0000 (15:41 -0400)
NB: Feature still being developed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/shot/e_mod_main.c

index eaa2935..6ab7318 100644 (file)
@@ -937,6 +937,14 @@ _wl_shot_now(E_Zone *zone, E_Client *ec, const char *params)
 
    if ((win) || (url_up)) return;
    if ((!zone) && (!ec)) return;
+
+   if (ec)
+     {
+        e_util_dialog_show(_("Error - Cannot take window shot"),
+                           _("Carry on my wayland son. This feature not implemented yet."));
+        return;
+     }
+
    if (zone)
      {
         sw = e_comp->w;