devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=921b882e9ddf21d7af311085d1e6f853f7d9a3e7

commit 921b882e9ddf21d7af311085d1e6f853f7d9a3e7
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jul 8 15:41:23 2015 -0400

    shot: Disable window shots in wayland for now
    
    NB: Feature still being developed
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/shot/e_mod_main.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index eaa2935..6ab7318 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -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;

-- 


Reply via email to