aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/shot/e_mod_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index 800d782a4..1d107daab 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -619,8 +619,7 @@ _shot_now(E_Zone *zone, E_Border *bd)
Ecore_X_Screen *scr;
Ecore_X_Window_Attributes watt;
Ecore_X_Colormap colormap;
-
- watt.visual = 0;
+
if ((!zone) && (!bd)) return;
if (zone)
{